Browse files

Init.

  • Loading branch information...
0 parents commit ef2bd1d7f46899210e8199524d449b41b24c2d72 @gevorg gevorg committed Dec 4, 2011
Showing with 110 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +3 −0 .npmignore
  3. +9 −0 LICENSE
  4. +56 −0 README.md
  5. +40 −0 package.json
2 .gitignore
@@ -0,0 +1,2 @@
+node_modules
+.project
3 .npmignore
@@ -0,0 +1,3 @@
+.gitignore
+node_modules
+.project
9 LICENSE
@@ -0,0 +1,9 @@
+(The MIT License)
+
+Copyright (c) 2011 Gevorg Harutyunyan <gevorg.ha@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
56 README.md
@@ -0,0 +1,56 @@
+# htdigest
+[Node.js](http://nodejs.org/) package for HTTP Digest Authentication password file utility.
+
+## Installation
+
+Via git (or downloaded tarball):
+
+```bash
+$ git clone git://github.com/gevorg/htdigest.git
+```
+Via [npm](http://npmjs.org/):
+
+```bash
+$ npm install -g htdigest
+```
+## Usage
+
+```bash
+$ htpasswd [-c] passwordfile realm username
+```
+
+## Arguments
+
+ - `-c` - Create a new file.
+
+## Running tests
+
+It uses [nodeunit](https://github.com/caolan/nodeunit/), so just run following command in package directory:
+
+```bash
+$ nodeunit tests
+```
+
+## Issues
+
+You can find list of issues using **[this link](http://github.com/gevorg/htdigest/issues)**.
+
+## Dependencies
+
+ - **[commander](https://github.com/visionmedia/commander.js/)** - node.js command-line interfaces made easy.
+
+## Development dependencies
+
+ - **[nodeunit](https://github.com/caolan/nodeunit/)** - Easy unit testing in node.js and the browser, based on the assert module.
+
+## License
+
+(The MIT License)
+
+Copyright (c) 2011 Gevorg Harutyunyan <gevorg.ha@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the **Software**), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED **AS IS**, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40 package.json
@@ -0,0 +1,40 @@
+{
+ "name": "htdigest",
+ "description": "Node.js package for HTTP Digest Authentication password file utility.",
+ "version": "1.0.0",
+ "author": "Gevorg Harutyunyan (http://github.com/gevorg)",
+ "maintainers": [
+ {
+ "name": "gevorg",
+ "email": "gevorg.ha@gmail.com"
+ }
+ ],
+ "homepage": "http://github.com/gevorg/htdigest",
+ "repository": {
+ "type": "git",
+ "url": "http://github.com/gevorg/htdigest.git"
+ },
+ "main": "./lib/htdigest.js",
+ "bin": {
+ "htpasswd": "./lib/htdigest-bin.js"
+ },
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "http://github.com/gevorg/htdigest/blob/master/LICENSE"
+ }
+ ],
+ "bugs": {
+ "web": "http://github.com/gevorg/htdigest/issues"
+ },
+ "dependencies": {
+ "commander": "0.4.2"
+ },
+ "devDependencies": {
+ "nodeunit": "0.6.4"
+ },
+ "engines": {
+ "node": ">=0.4.1"
+ },
+ "keywords": ["node", "htpasswd", "http", "server", "digest", "access", "authentication"]
+}

0 comments on commit ef2bd1d

Please sign in to comment.