pnpm
Version:
Fast, disk space efficient package manager
113 lines (112 loc) • 4.29 kB
JSON
{
"_args": [
[
{
"raw": "crypto-random-string@^1.0.0",
"scope": null,
"escapedName": "crypto-random-string",
"name": "crypto-random-string",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/unique-string"
]
],
"_from": "crypto-random-string@>=1.0.0 <2.0.0",
"_id": "crypto-random-string@1.0.0",
"_inCache": true,
"_location": "/crypto-random-string",
"_nodeVersion": "4.6.1",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/crypto-random-string-1.0.0.tgz_1479096882597_0.12821740517392755"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.9",
"_phantomChildren": {},
"_requested": {
"raw": "crypto-random-string@^1.0.0",
"scope": null,
"escapedName": "crypto-random-string",
"name": "crypto-random-string",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/unique-string"
],
"_resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz",
"_shasum": "a230f64f568310e1498009940790ec99545bca7e",
"_shrinkwrap": null,
"_spec": "crypto-random-string@^1.0.0",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/unique-string",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/crypto-random-string/issues"
},
"dependencies": {},
"description": "Generate a cryptographically strong random string",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "a230f64f568310e1498009940790ec99545bca7e",
"tarball": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "21960c996c3f77cf5f7bf6765e837e7c8a07e200",
"homepage": "https://github.com/sindresorhus/crypto-random-string#readme",
"keywords": [
"random",
"string",
"str",
"rand",
"text",
"id",
"identifier",
"slug",
"salt",
"crypto",
"strong",
"secure",
"hex"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "crypto-random-string",
"optionalDependencies": {},
"readme": "# crypto-random-string [](https://travis-ci.org/sindresorhus/crypto-random-string)\n\n> Generate a [cryptographically strong](https://en.m.wikipedia.org/wiki/Strong_cryptography) random string\n\nCan be useful for creating an identifier, slug, salt, fixture, etc.\n\n\n## Install\n\n```\n$ npm install --save crypto-random-string\n```\n\n\n## Usage\n\n```js\nconst cryptoRandomString = require('crypto-random-string');\n\ncryptoRandomString(10);\n//=> '2cf05d94db'\n```\n\n\n## API\n\n### cryptoRandomString(length)\n\n#### length\n\nType: `number`\n\nLength of the returned string.\n\n\n## Related\n\n- [random-int](https://github.com/sindresorhus/random-int) - Generate a random integer\n- [random-float](https://github.com/sindresorhus/random-float) - Generate a random float\n- [random-item](https://github.com/sindresorhus/random-item) - Get a random item from an array\n- [random-boolean](https://github.com/arthurvr/random-boolean) - Get a random boolean\n- [random-obj-key](https://github.com/sindresorhus/random-obj-key) - Get a random key from an object\n- [random-obj-prop](https://github.com/sindresorhus/random-obj-prop) - Get a random property from an object\n- [unique-random](https://github.com/sindresorhus/unique-random) - Generate random numbers that are consecutively unique\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/crypto-random-string.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.0.0",
"xo": {
"esnext": true
}
}