short-hash
Version:
Get a short hash from a string. Uses Bernstein's popular 'times 33' hash algorithm but returns a hex string instead of a number
26 lines (25 loc) • 612 B
JSON
{
"name": "short-hash",
"version": "1.0.0",
"description": "Get a short hash from a string. Uses Bernstein's popular 'times 33' hash algorithm but returns a hex string instead of a number",
"main": "src/index.js",
"scripts": {
"lint": "xo",
"pretest": "npm run -s lint",
"test": "tape 'test/**/*.js'"
},
"keywords": [],
"author": "Joakim Carlstein <joakim@klei.se>",
"repository": "joakimbeng/short-hash",
"license": "MIT",
"devDependencies": {
"tape": "^4.2.0",
"xo": "^0.7.1"
},
"xo": {
"space": true
},
"dependencies": {
"hash-string": "^1.0.0"
}
}