support node.js

This commit is contained in:
Chen Yi-Cyuan
2014-01-04 16:47:04 +08:00
parent 9d80e2d7f0
commit bcc167c953
7 changed files with 63 additions and 37 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"name": "js-sha1",
"version": "0.1.0",
"description": "A simple SHA1 hash function for JavaScript supports UTF-8 encoding.",
"main": "src/sha1.js",
"scripts": {
"test": "node tests/node-test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/emn178/js-sha1.git"
},
"keywords": [
"sha1",
"hash",
"encryption"
],
"author": "emn178 <emn178@gmail.com>",
"homepage": "https://github.com/emn178/js-sha1",
"bugs": {
"url": "https://github.com/emn178/js-sha1/issues"
}
}