pnpm
Version:
Fast, disk space efficient package manager
122 lines (121 loc) • 6.94 kB
JSON
{
"_args": [
[
{
"raw": "repeat-element@^1.1.2",
"scope": null,
"escapedName": "repeat-element",
"name": "repeat-element",
"rawSpec": "^1.1.2",
"spec": ">=1.1.2 <2.0.0",
"type": "range"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/braces"
]
],
"_from": "repeat-element@>=1.1.2 <2.0.0",
"_id": "repeat-element@1.1.3",
"_inCache": true,
"_location": "/repeat-element",
"_nodeVersion": "10.0.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/repeat-element_1.1.3_1534692630389_0.5249467379316295"
},
"_npmUser": {
"name": "jonschlinkert",
"email": "github@sellside.com"
},
"_npmVersion": "6.4.0",
"_phantomChildren": {},
"_requested": {
"raw": "repeat-element@^1.1.2",
"scope": null,
"escapedName": "repeat-element",
"name": "repeat-element",
"rawSpec": "^1.1.2",
"spec": ">=1.1.2 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/braces"
],
"_resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
"_shasum": "782e0d825c0c5a3bb39731f84efee6b742e6b1ce",
"_shrinkwrap": null,
"_spec": "repeat-element@^1.1.2",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/braces",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/repeat-element/issues"
},
"dependencies": {},
"description": "Create an array by repeating the given value n times.",
"devDependencies": {
"benchmarked": "^2.0.0",
"chalk": "^2.4.1",
"glob": "^7.1.2",
"gulp-format-md": "^1.0.0",
"minimist": "^1.2.0",
"mocha": "^3.5.3"
},
"directories": {},
"dist": {
"integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
"shasum": "782e0d825c0c5a3bb39731f84efee6b742e6b1ce",
"tarball": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
"fileCount": 4,
"unpackedSize": 5319,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeY0WCRA9TVsSAnZWagAA9+8P/1uuLJ5jSetjPW5fdV4L\nvxHfZDwhxYdhTFCDvxFRTtXJrZRf0mI+ET5WsuAHSi/v+e4A0/qOZMCq1ggs\nyAeONQq6ChtiYaingdb9x18J4ULeSaeXF4W01n0tfb56LeLcUS1v+4kn99uQ\nfDdh+iwqBPxs/KmDhjR6Ihy9OoVhj3XMr4pElL3noSsnGyNUUobTxmEGUN4r\n9VXRBa90acEjPzBw9H6H0H9kmWEH3YMgZ4kvGUV/kICkZJDfbP/4z3VBj+kQ\nfLHV/emGFCkK19wf3GpgCCYstUyPy3QLWc5htSo011mlZYu2YK3zLlFPxWpR\nf/Doxn0VNluyHOKae0DrfKqfErSx8qYw8F3d3gbO7a26FHljD8wSG5WXooCl\nUiH7YMmZ6nwbKWlFh1XfyYXzDX/Na01mcZ9MzPycwJbAT6bWCPb6clh+uoIw\n9fd7Dqe7SrPWL7e1oA4qIzcgoVSsrkSGkwoXUxiUsklVXxdpUd+MPic4xdhi\nVmVl1b4Zlgd2wST+8HwKf57Ug+G8M4R3r2iu4y8yZL8pb3gMVSkgF+TgOYuw\nCM1HbPnqafmlck/Vtm7po18aUFc55jMxKQLe7eBtlLYc8h/HhD9um1THRKhm\njMsOslwPB4Y6G7nvm2wx8dLQl0PFG9astOg81ddE1o+HjgcxOwbUEAb/oqzZ\ngHyf\r\n=mFVv\r\n-----END PGP SIGNATURE-----\r\n"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "32af174b4218263952a77d881f37d6e545b7cfd0",
"homepage": "https://github.com/jonschlinkert/repeat-element",
"keywords": [
"array",
"element",
"repeat",
"string"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "jonschlinkert",
"email": "github@sellside.com"
}
],
"name": "repeat-element",
"optionalDependencies": {},
"readme": "# repeat-element [](https://www.npmjs.com/package/repeat-element) [](https://npmjs.org/package/repeat-element) [](https://npmjs.org/package/repeat-element) [](https://travis-ci.org/jonschlinkert/repeat-element)\n\n> Create an array by repeating the given value n times.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save repeat-element\n```\n\n## Usage\n\n```js\nconst repeat = require('repeat-element');\n\nrepeat('a', 5);\n//=> ['a', 'a', 'a', 'a', 'a']\n\nrepeat('a', 1);\n//=> ['a']\n\nrepeat('a', 0);\n//=> []\n\nrepeat(null, 5)\n//» [ null, null, null, null, null ]\n\nrepeat({some: 'object'}, 5)\n//» [ { some: 'object' },\n// { some: 'object' },\n// { some: 'object' },\n// { some: 'object' },\n// { some: 'object' } ]\n\nrepeat(5, 5)\n//» [ 5, 5, 5, 5, 5 ]\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 17 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 3 | [LinusU](https://github.com/LinusU) |\n| 1 | [architectcodes](https://github.com/architectcodes) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 19, 2018._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/repeat-element.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"lint": {
"reflinks": true
}
},
"version": "1.1.3"
}