node-git-server
🎡 A configurable git server written in Node.js
++there be 🐲 here! The API's and functionality are still be cemented, anything before a 1.0.0 release will be subject to change.
+
Home
Classes
-
Install
npm install node-git-server
Usage
const Server = require('node-git-server'); -const repo = new Server(path.resolve(__dirname, 'tmp'), { +const repos = new Server(path.resolve(__dirname, 'tmp'), { autoCreate: true, authenticate: (type, repo, user, next) => { if(type == 'upload') { diff --git a/package.json b/package.json index 0c6d386..b6a80b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-git-server", - "version": "0.3.4", + "version": "0.4.0", "description": "🎡 A configurable git server written in Node.js", "author": "Gabriel J. Csapo
", "contributors": [