112 lines
4.1 KiB
JSON
112 lines
4.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "md5-file@^3.2.3",
|
|
"scope": null,
|
|
"escapedName": "md5-file",
|
|
"name": "md5-file",
|
|
"rawSpec": "^3.2.3",
|
|
"spec": ">=3.2.3 <4.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/expo"
|
|
]
|
|
],
|
|
"_from": "md5-file@>=3.2.3 <4.0.0",
|
|
"_id": "md5-file@3.2.3",
|
|
"_inCache": true,
|
|
"_location": "/md5-file",
|
|
"_nodeVersion": "8.4.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/md5-file-3.2.3.tgz_1506092070378_0.7027955728117377"
|
|
},
|
|
"_npmUser": {
|
|
"name": "linusu",
|
|
"email": "linus@folkdatorn.se"
|
|
},
|
|
"_npmVersion": "5.3.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "md5-file@^3.2.3",
|
|
"scope": null,
|
|
"escapedName": "md5-file",
|
|
"name": "md5-file",
|
|
"rawSpec": "^3.2.3",
|
|
"spec": ">=3.2.3 <4.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/expo"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgz",
|
|
"_shasum": "f9bceb941eca2214a4c0727f5e700314e770f06f",
|
|
"_shrinkwrap": null,
|
|
"_spec": "md5-file@^3.2.3",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/expo",
|
|
"author": {
|
|
"name": "Rory Bradford",
|
|
"email": "rory@dysfunctionalprogramming.com"
|
|
},
|
|
"bin": {
|
|
"md5-file": "cli.js"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/roryrjb/md5-file/issues"
|
|
},
|
|
"dependencies": {
|
|
"buffer-alloc": "^1.1.0"
|
|
},
|
|
"description": "return an md5sum of a given file",
|
|
"devDependencies": {
|
|
"mocha": "^2.4.5",
|
|
"standard": "^7.1.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-3Tkp1piAHaworfcCgH0jKbTvj1jWWFgbvh2cXaNCgHwyTCBxxvD1Y04rmfpvdPm1P4oXMOpm6+2H7sr7v9v8Fw==",
|
|
"shasum": "f9bceb941eca2214a4c0727f5e700314e770f06f",
|
|
"tarball": "https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10"
|
|
},
|
|
"files": [
|
|
"cli.js",
|
|
"index.js",
|
|
"promise.js"
|
|
],
|
|
"gitHead": "e3956df5f9e1f21317e781c399cffde354fb9cce",
|
|
"homepage": "https://github.com/roryrjb/md5-file#readme",
|
|
"keywords": [
|
|
"md5",
|
|
"md5sum",
|
|
"checksum"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "linusu",
|
|
"email": "linus@folkdatorn.se"
|
|
},
|
|
{
|
|
"name": "roryrjb",
|
|
"email": "rory@dysfunctionalprogramming.com"
|
|
}
|
|
],
|
|
"name": "md5-file",
|
|
"optionalDependencies": {},
|
|
"readme": "# md5-file [![Build Status](https://travis-ci.org/roryrjb/md5-file.svg?branch=master)](https://travis-ci.org/roryrjb/md5-file) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nGet the MD5-sum of a given file, with low memory usage, even on huge files.\n\n## Installation\n\n```sh\nnpm install --save md5-file\n```\n\n## Usage\n\n### As a module\n```js\nconst md5File = require('md5-file')\n\n/* Async usage */\nmd5File('LICENSE.md', (err, hash) => {\n if (err) throw err\n\n console.log(`The MD5 sum of LICENSE.md is: ${hash}`)\n})\n\n/* Sync usage */\nconst hash = md5File.sync('LICENSE.md')\nconsole.log(`The MD5 sum of LICENSE.md is: ${hash}`)\n```\n\n### As a command line tool\n```\n$ md5-file LICENSE.md\n```\n\n## Promise support\n\nIf you require `md5-file/promise` you'll receive an alternative API where all\nfunctions that takes callbacks are replaced by `Promise`-returning functions.\n\n```js\nconst md5File = require('md5-file/promise')\n\nmd5File('LICENSE.md').then(hash => {\n console.log(`The MD5 sum of LICENSE.md is: ${hash}`)\n})\n```\n\n## API\n\n### `md5File(filepath: string, cb: function)`\n\nAsynchronously get the MD5-sum of the file at `filepath`.\n\nThe callback `cb` will be called with `(err: Error, hash: string)`.\n\n### `md5File.sync(filepath: string) => string`\n\nSynchronously get the MD5-sum of the file at `filepath`.\n\n### License\n\nMIT\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/roryrjb/md5-file.git"
|
|
},
|
|
"scripts": {
|
|
"test": "standard && mocha"
|
|
},
|
|
"version": "3.2.3"
|
|
}
|