diff options
author | Brian Turek <brian.turek@gmail.com> | 2013-12-15 13:10:07 -0500 |
---|---|---|
committer | Brian Turek <brian.turek@gmail.com> | 2013-12-15 13:10:07 -0500 |
commit | 76adee808c3206e38246a3a27ceb011ae70653f8 (patch) | |
tree | f7509deb24369b8daa960ea20c22f2c3e9d993c6 | |
parent | c65d3e2d3e548c38774b81b463117c114238399e (diff) | |
download | jsSHA-76adee808c3206e38246a3a27ceb011ae70653f8.zip jsSHA-76adee808c3206e38246a3a27ceb011ae70653f8.tar.gz jsSHA-76adee808c3206e38246a3a27ceb011ae70653f8.tar.bz2 |
Changed package name in package.json due to NPM naming policy
-rwxr-xr-x | README.md | 10 | ||||
-rwxr-xr-x | package.json | 70 |
2 files changed, 43 insertions, 37 deletions
@@ -94,10 +94,10 @@ same way as above. ### Node.js jsSHA is available through NPM and be installed by simply doing - npm install jsSHA + npm install jssha To use the module, first require it using: - jsSHA = require("jsSHA"); + jsSHA = require("jssha"); The rest of the instructions are identical to the [Browser](#browser) section above. @@ -113,9 +113,9 @@ a command like the following: --js /path/to/sha_dev.js --js_output_file /path/to/sha.js where <FLAG> is a bitwise OR of the following values: - - 4 for SHA-384/SHA-512 - - 2 for SHA-224/256 - - 1 for SHA-1 +* 4 for SHA-384/SHA-512 +* 2 for SHA-224/256 +* 1 for SHA-1 ##Contact Info The project's website is located at [http://caligatio.github.com/jsSHA/](http://caligatio.github.com/jsSHA/) diff --git a/package.json b/package.json index 313d0cc..44d5f67 100755 --- a/package.json +++ b/package.json @@ -1,33 +1,39 @@ { - "name" : "jsSHA", - "version" : "1.5.0", - "description" : "jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in FIPS 180-2 (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512) as well as HMAC", - "main" : "src/sha.js", - "repository" : { - "type" : "git", - "url" : "https://github.com/Caligatio/jsSHA.git" - }, - "keywords" : [ - "SHA-1", - "SHA-256", - "SHA-224", - "SHA-384", - "SHA-512", - "SHA1", - "SHA256", - "SHA224", - "SHA384", - "SHA512", - "SHA2", - "HMAC", - "hash" - ], - "license" : "BSD", - "author" : "Brian Turek <brian.turek@gmail.com>", - "bugs" : { - "url": "https://github.com/Caligatio/jsSHA/issues" - }, - "engines" : { - "node" : "*" - } -}
\ No newline at end of file + "name": "jssha", + "version": "1.5.0", + "description": "jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in FIPS 180-2 (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512) as well as HMAC", + "main": "src/sha.js", + "repository": { + "type": "git", + "url": "https://github.com/Caligatio/jsSHA.git" + }, + "keywords": [ + "SHA-1", + "SHA-256", + "SHA-224", + "SHA-384", + "SHA-512", + "SHA1", + "SHA256", + "SHA224", + "SHA384", + "SHA512", + "SHA2", + "HMAC", + "hash" + ], + "license": "BSD", + "author": "Brian Turek <brian.turek@gmail.com>", + "bugs": { + "url": "https://github.com/Caligatio/jsSHA/issues" + }, + "engines": { + "node": "*" + }, + "homepage": "https://github.com/Caligatio/jsSHA", + "dependencies": {}, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + } +} |