GT2/GT2-Android/node_modules/random-bytes/package.json

104 lines
4.8 KiB
JSON

{
"_args": [
[
{
"raw": "random-bytes@~1.0.0",
"scope": null,
"escapedName": "random-bytes",
"name": "random-bytes",
"rawSpec": "~1.0.0",
"spec": ">=1.0.0 <1.1.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/uid-safe"
]
],
"_from": "random-bytes@>=1.0.0 <1.1.0",
"_id": "random-bytes@1.0.0",
"_inCache": true,
"_location": "/random-bytes",
"_npmUser": {
"name": "dougwilson",
"email": "doug@somethingdoug.com"
},
"_npmVersion": "1.4.28",
"_phantomChildren": {},
"_requested": {
"raw": "random-bytes@~1.0.0",
"scope": null,
"escapedName": "random-bytes",
"name": "random-bytes",
"rawSpec": "~1.0.0",
"spec": ">=1.0.0 <1.1.0",
"type": "range"
},
"_requiredBy": [
"/uid-safe"
],
"_resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz",
"_shasum": "4f68a1dc0ae58bd3fb95848c30324db75d64360b",
"_shrinkwrap": null,
"_spec": "random-bytes@~1.0.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/uid-safe",
"bugs": {
"url": "https://github.com/crypto-utils/random-bytes/issues"
},
"contributors": [
{
"name": "Douglas Christopher Wilson",
"email": "doug@somethingdoug.com"
}
],
"dependencies": {},
"description": "URL and cookie safe UIDs",
"devDependencies": {
"bluebird": "3.1.1",
"istanbul": "0.4.2",
"mocha": "2.3.4",
"proxyquire": "1.2.0"
},
"directories": {},
"dist": {
"shasum": "4f68a1dc0ae58bd3fb95848c30324db75d64360b",
"tarball": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz"
},
"engines": {
"node": ">= 0.8"
},
"files": [
"LICENSE",
"HISTORY.md",
"README.md",
"index.js"
],
"gitHead": "3dcd47425a3dfe858ee8debcd4db0c1222110bc3",
"homepage": "https://github.com/crypto-utils/random-bytes#readme",
"keywords": [
"bytes",
"generator",
"random",
"safe"
],
"license": "MIT",
"maintainers": [
{
"name": "dougwilson",
"email": "doug@somethingdoug.com"
}
],
"name": "random-bytes",
"optionalDependencies": {},
"readme": "# random-bytes\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nGenerate strong pseudo-random bytes.\n\nThis module is a simple wrapper around the Node.js core `crypto.randomBytes` API,\nwith the following additions:\n\n * A `Promise` interface for environments with promises.\n * For Node.js versions that do not wait for the PRNG to be seeded, this module\n will wait a bit.\n\n## Installation\n\n```sh\n$ npm install random-bytes\n```\n\n## API\n\n```js\nvar randomBytes = require('random-bytes')\n```\n\n### randomBytes(size, callback)\n\nGenerates strong pseudo-random bytes. The `size` argument is a number indicating\nthe number of bytes to generate.\n\n```js\nrandomBytes(12, function (error, bytes) {\n if (error) throw error\n // do something with the bytes\n})\n```\n\n### randomBytes(size)\n\nGenerates strong pseudo-random bytes and return a `Promise`. The `size` argument is\na number indicating the number of bytes to generate.\n\n**Note**: To use promises in Node.js _prior to 0.12_, promises must be\n\"polyfilled\" using `global.Promise = require('bluebird')`.\n\n```js\nrandomBytes(18).then(function (string) {\n // do something with the string\n})\n```\n\n### randomBytes.sync(size)\n\nA synchronous version of above.\n\n```js\nvar bytes = randomBytes.sync(18)\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/random-bytes.svg\n[npm-url]: https://npmjs.org/package/random-bytes\n[node-version-image]: https://img.shields.io/node/v/random-bytes.svg\n[node-version-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/crypto-utils/random-bytes/master.svg\n[travis-url]: https://travis-ci.org/crypto-utils/random-bytes\n[coveralls-image]: https://img.shields.io/coveralls/crypto-utils/random-bytes/master.svg\n[coveralls-url]: https://coveralls.io/r/crypto-utils/random-bytes?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/random-bytes.svg\n[downloads-url]: https://npmjs.org/package/random-bytes\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/crypto-utils/random-bytes.git"
},
"scripts": {
"test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --trace-deprecation --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --trace-deprecation --reporter spec --check-leaks test/"
},
"version": "1.0.0"
}