1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
{
"_args": [
[
{
"raw": "md5-hex@^1.2.0",
"scope": null,
"escapedName": "md5-hex",
"name": "md5-hex",
"rawSpec": "^1.2.0",
"spec": ">=1.2.0 <2.0.0",
"type": "range"
},
"/Users/benjamincoe/bcoe/nyc"
]
],
"_from": "md5-hex@>=1.2.0 <2.0.0",
"_id": "md5-hex@1.3.0",
"_inCache": true,
"_location": "/md5-hex",
"_nodeVersion": "4.4.2",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/md5-hex-1.3.0.tgz_1460471196734_0.9732175024691969"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.0",
"_phantomChildren": {},
"_requested": {
"raw": "md5-hex@^1.2.0",
"scope": null,
"escapedName": "md5-hex",
"name": "md5-hex",
"rawSpec": "^1.2.0",
"spec": ">=1.2.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/",
"/caching-transform"
],
"_resolved": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.3.0.tgz",
"_shasum": "d2c4afe983c4370662179b8cad145219135046c4",
"_shrinkwrap": null,
"_spec": "md5-hex@^1.2.0",
"_where": "/Users/benjamincoe/bcoe/nyc",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"browser": "browser.js",
"bugs": {
"url": "https://github.com/sindresorhus/md5-hex/issues"
},
"dependencies": {
"md5-o-matic": "^0.1.1"
},
"description": "Create a MD5 hash with hex encoding",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "d2c4afe983c4370662179b8cad145219135046c4",
"tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.3.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js",
"browser.js"
],
"gitHead": "273d9c659a29e4cd53512f526282afd5ac1c1413",
"homepage": "https://github.com/sindresorhus/md5-hex#readme",
"keywords": [
"hash",
"crypto",
"md5",
"hex",
"buffer",
"browser",
"browserify"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "md5-hex",
"optionalDependencies": {},
"readme": "# md5-hex [![Build Status](https://travis-ci.org/sindresorhus/md5-hex.svg?branch=master)](https://travis-ci.org/sindresorhus/md5-hex)\n\n> Create a MD5 hash with hex encoding\n\n*Please don't use MD5 hashes for anything sensitive!*\n\nCheckout [`hasha`](https://github.com/sindresorhus/hasha) if you need something more flexible.\n\n\n## Install\n\n```\n$ npm install --save md5-hex\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst md5Hex = require('md5-hex');\nconst buffer = fs.readFileSync('unicorn.png');\n\nmd5Hex(buffer);\n//=> '1abcb33beeb811dca15f0ac3e47b88d9'\n```\n\n\n## API\n\n### md5Hex(input)\n\n#### input\n\nType: `buffer` `string` `array[string|buffer]`\n\nPrefer buffers as they're faster to hash, but strings can be useful for small things.\n\nPass an array instead of concatenating strings and/or buffers. The output is the same, but arrays do not incur the overhead of concatenation.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/md5-hex.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.3.0"
}
|