GT2/GT2-iOS/node_modules/uid-safe/package.json

128 lines
5.4 KiB
JSON

{
"_args": [
[
{
"raw": "uid-safe@2.1.4",
"scope": null,
"escapedName": "uid-safe",
"name": "uid-safe",
"rawSpec": "2.1.4",
"spec": "2.1.4",
"type": "version"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/csrf"
]
],
"_from": "uid-safe@2.1.4",
"_id": "uid-safe@2.1.4",
"_inCache": true,
"_location": "/uid-safe",
"_nodeVersion": "4.7.3",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/uid-safe-2.1.4.tgz_1488511355733_0.1465235783252865"
},
"_npmUser": {
"name": "dougwilson",
"email": "doug@somethingdoug.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "uid-safe@2.1.4",
"scope": null,
"escapedName": "uid-safe",
"name": "uid-safe",
"rawSpec": "2.1.4",
"spec": "2.1.4",
"type": "version"
},
"_requiredBy": [
"/csrf"
],
"_resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.4.tgz",
"_shasum": "3ad6f38368c6d4c8c75ec17623fb79aa1d071d81",
"_shrinkwrap": null,
"_spec": "uid-safe@2.1.4",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/csrf",
"bugs": {
"url": "https://github.com/crypto-utils/uid-safe/issues"
},
"contributors": [
{
"name": "Douglas Christopher Wilson",
"email": "doug@somethingdoug.com"
},
{
"name": "Jonathan Ong",
"email": "me@jongleberry.com",
"url": "http://jongleberry.com"
}
],
"dependencies": {
"random-bytes": "~1.0.0"
},
"description": "URL and cookie safe UIDs",
"devDependencies": {
"bluebird": "3.4.7",
"eslint": "3.16.1",
"eslint-config-standard": "7.0.0",
"eslint-plugin-promise": "3.5.0",
"eslint-plugin-standard": "2.1.1",
"istanbul": "0.4.5",
"mocha": "2.5.3"
},
"directories": {},
"dist": {
"shasum": "3ad6f38368c6d4c8c75ec17623fb79aa1d071d81",
"tarball": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.4.tgz"
},
"engines": {
"node": ">= 0.8"
},
"files": [
"LICENSE",
"HISTORY.md",
"README.md",
"index.js"
],
"gitHead": "4964cfbf8aa89e1988e30f26e2ecaa4ba239222d",
"homepage": "https://github.com/crypto-utils/uid-safe#readme",
"keywords": [
"random",
"generator",
"uid",
"safe"
],
"license": "MIT",
"maintainers": [
{
"name": "dougwilson",
"email": "doug@somethingdoug.com"
},
{
"name": "fishrock123",
"email": "fishrock123@rocketmail.com"
},
{
"name": "jongleberry",
"email": "jonathanrichardong@gmail.com"
}
],
"name": "uid-safe",
"optionalDependencies": {},
"readme": "# uid-safe\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\nURL and cookie safe UIDs\n\nCreate cryptographically secure UIDs safe for both cookie and URL usage.\nThis is in contrast to modules such as [rand-token](https://www.npmjs.com/package/rand-token)\nand [uid2](https://www.npmjs.com/package/uid2) whose UIDs are actually skewed\ndue to the use of `%` and unnecessarily truncate the UID.\nUse this if you could still use UIDs with `-` and `_` in them.\n\n## Installation\n\n```sh\n$ npm install uid-safe\n```\n\n## API\n\n```js\nvar uid = require('uid-safe')\n```\n\n### uid(byteLength, callback)\n\nAsynchronously create a UID with a specific byte length. Because `base64`\nencoding is used underneath, this is not the string length. For example,\nto create a UID of length 24, you want a byte length of 18.\n\n```js\nuid(18, function (err, string) {\n if (err) throw err\n // do something with the string\n})\n```\n\n### uid(byteLength)\n\nAsynchronously create a UID with a specific byte length and return a\n`Promise`.\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\nuid(18).then(function (string) {\n // do something with the string\n})\n```\n\n### uid.sync(byteLength)\n\nA synchronous version of above.\n\n```js\nvar string = uid.sync(18)\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/uid-safe.svg\n[npm-url]: https://npmjs.org/package/uid-safe\n[node-version-image]: https://img.shields.io/node/v/uid-safe.svg\n[node-version-url]: https://nodejs.org/en/download/\n[travis-image]: https://img.shields.io/travis/crypto-utils/uid-safe/master.svg\n[travis-url]: https://travis-ci.org/crypto-utils/uid-safe\n[coveralls-image]: https://img.shields.io/coveralls/crypto-utils/uid-safe/master.svg\n[coveralls-url]: https://coveralls.io/r/crypto-utils/uid-safe?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/uid-safe.svg\n[downloads-url]: https://npmjs.org/package/uid-safe\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/crypto-utils/uid-safe.git"
},
"scripts": {
"lint": "eslint .",
"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": "2.1.4"
}