{"_id":"@alphahydrae/dgstore","_rev":"1-da4d372db6621272d4f7f830d519c3d3","name":"@alphahydrae/dgstore","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alphahydrae/dgstore","version":"1.0.0","description":"Hash files and store the digests next to the files for future comparison.","main":"lib/index.js","types":"lib/src/index.d.ts","bin":{"dgstore":"./bin/dgstore"},"scripts":{"build":"npm run build:clean && npm run build:webpack","build:clean":"rimraf lib/**/*","build:watch":"webpack-cli --config webpack.js --watch","build:webpack":"webpack-cli --config webpack.js","dev":"concurrently \"npm run build:watch\" \"npm run lint:watch\"","lint":"tslint -c tslint.json -p tsconfig.json -t stylish \"src/**/*.ts\"","lint:watch":"onchange \"src/**/*.ts\" -- npm run lint","prepublishOnly":"npm run lint && cross-env WEBPACK_MODE=production npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["hash","digest","store","compare"],"bugs":{"url":"https://github.com/AlphaHydrae/dgstore/issues"},"homepage":"https://github.com/AlphaHydrae/dgstore#readme","author":{"name":"Simon Oulevay","email":"npm@alphahydrae.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlphaHydrae/dgstore.git"},"files":["bin","LICENSE.txt","README.md","lib"],"dependencies":{"chalk":"^2.4.1","fast-glob":"^2.2.2","fs-extra":"^7.0.0","lodash":"^4.17.10","ora":"^3.0.0","yargs":"^12.0.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/fs-extra":"^5.0.4","@types/lodash":"^4.14.116","@types/node":"^10.5.7","@types/ora":"^1.3.4","@types/yargs":"^11.1.1","concurrently":"^3.6.1","cross-env":"^5.2.0","onchange":"^4.1.0","rimraf":"^2.6.2","ts-loader":"^4.4.2","tslint":"^5.11.0","tslint-config-prettier":"^1.14.0","tslint-consistent-codestyle":"^1.13.3","tslint-eslint-rules":"^5.3.1","tslint-misc-rules":"^3.5.0","typescript":"^3.0.1","webpack":"^4.16.5","webpack-cli":"^3.1.0","webpack-node-externals":"^1.7.2"},"engines":{"node":">= 8.0.0 < 11.0.0"},"gitHead":"886753248cb6e88e947df2101318f472af84f53d","_id":"@alphahydrae/dgstore@1.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"alphahydrae","email":"npm@alphahydrae.com"},"dist":{"integrity":"sha512-KLsh7zgOWSy+FwlgaX9Y737pc4KSNWowrUntfUrpKdS+uI/XsmZy6j1tN+gb+p7zAMlI9s4vCMFSfYuB2FPtNA==","shasum":"00c3b85feb7bee130fdd9a24f8ca0d00d8d54da3","tarball":"https://registry.npmjs.org/@alphahydrae/dgstore/-/dgstore-1.0.0.tgz","fileCount":8,"unpackedSize":23261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbWGWCRA9TVsSAnZWagAAZ0QQAIQY8w4Moyg5fWJj/V1H\nLX4sFAgBnD7hPZosPuY4/11Z4or0qW+sTxn6fDBGb22mATR7Zy7YugRNhcF0\noSpLbdATX3etJ9+OgBtm4Iu2KXZaxgKLiJ8aC1sfObSk9g3JJAvHgbkkJr9C\nV21EYXSw4Oz7NPButcnSUyutU0Z5FOdJ7mSIy/exRwp0hI+z0DXGNfTwBSnJ\naP+/BblXmgcWDpMrJdWSrQRU2nTukb+xzl0k2FT+xMvTAF/FCG99Q/WMAwxG\nQR+prciZSTORsUGoTFIv349rMomYtVmUCpAhTOZ9jJiaPoIhZDLcJhC2hBQN\nPFhyisCHoM54YZOe19LOsSs7nXza9751XD2HsVxsdrs2QoaVa4AO8iDp1fN0\nsYAoTIatvOnpQG6Y5hRzvkUz9JLHPbnThjSS9hAsT/j9IGBb+OcStTV0ChKQ\nIwjgZTWBTcpbMxuyadI86J/YRTAeeDwZKC3aIAh1Qh7cVfyFVdZdvCngOD1j\nu8MnrGfrK6Cw4L62O2uNh3TAmTGojW3NQdyqLvbtJmCEvhdewBWacIw8JR+P\nlBP8TVhgpffsGWhQzri0Ti2834XK/2FSCP/lhdDUNjd7PXSqN1vZc1+1VCYm\nGTkbW7ZBM4pmOaFsNxDs2EacooVDL/BnB5sab63LAiBO55CGGAX+yMHna30q\n94IN\r\n=TAtt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+TVuxVpR6gPhuET96O07/O6mK7EkdgV8XZBlVvtlSgAIhAOSO6k/phr/VYVtoOHkx9fjA1Ga9Sxf2cTbG/rvCyGOo"}]},"maintainers":[{"name":"alphahydrae","email":"npm@alphahydrae.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dgstore_1.0.0_1533895062406_0.2528908079822325"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-10T09:57:42.172Z","1.0.0":"2018-08-10T09:57:42.533Z","modified":"2022-04-04T13:38:17.926Z"},"maintainers":[{"name":"alphahydrae","email":"npm@alphahydrae.com"}],"description":"Hash files and store the digests next to the files for future comparison.","homepage":"https://github.com/AlphaHydrae/dgstore#readme","keywords":["hash","digest","store","compare"],"repository":{"type":"git","url":"git+https://github.com/AlphaHydrae/dgstore.git"},"author":{"name":"Simon Oulevay","email":"npm@alphahydrae.com"},"bugs":{"url":"https://github.com/AlphaHydrae/dgstore/issues"},"license":"MIT","readme":"# dgstore\n\n**Hash files and store the digests next to the files for future comparison.**\n\n[![npm version](https://badge.fury.io/js/dgstore.svg)](https://badge.fury.io/js/dgstore)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.txt)\n\n\n\n## Usage\n\nRunning this command will create digest files next to your files so that you\ncan easily check whether the file has changed in the future.\n\nFor example, running `dgstore` on a `backup.tar.gz` file would create a\n`backup.tar.gz.sha512` file in the same directory.  If that `.sha512` digest\nfile already exists, it will read it, re-hash the file, and compare both hashes\nto tell you whether it has changed or not since the digest file was saved.\n\n```bash\nnpm install -g dgstore\n\n# Compute and store/check a single file's digest.\ndgstore \"some-file.txt\"\n\n# A directory's imediate files.\ndgstore \"some-directory/*\"\n\n# All files in a directory (recursively).\ndgstore \"some-directory/**/*\"\n\n# Include dot files.\ndgstore \"some-directory/*\" \"some-directory/.*\"\n```\n\n\n\n## Requirements\n\n* [Node.js][node] 8+\n\n\n\n[node]: https://nodejs.org/\n","readmeFilename":"README.md"}