-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 9.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"_args": [
[
{
"raw": "repeat-string@^1.6.1",
"scope": null,
"escapedName": "repeat-string",
"name": "repeat-string",
"rawSpec": "^1.6.1",
"spec": ">=1.6.1 <2.0.0",
"type": "range"
},
"C:\\Users\\nica_\\Desktop\\MI\\Anul III\\London Stock Spartans\\London Stock Spartans\\nodejs\\node_modules\\fill-range"
]
],
"_from": "repeat-string@>=1.6.1 <2.0.0",
"_id": "repeat-string@1.6.1",
"_inCache": true,
"_location": "/repeat-string",
"_nodeVersion": "6.7.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/repeat-string-1.6.1.tgz_1477241638674_0.3764322670176625"
},
"_npmUser": {
"name": "jonschlinkert",
"email": "github@sellside.com"
},
"_npmVersion": "3.10.3",
"_phantomChildren": {},
"_requested": {
"raw": "repeat-string@^1.6.1",
"scope": null,
"escapedName": "repeat-string",
"name": "repeat-string",
"rawSpec": "^1.6.1",
"spec": ">=1.6.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/fill-range",
"/to-regex-range"
],
"_resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"_shasum": "8dcae470e1c88abc2d600fff4a776286da75e637",
"_shrinkwrap": null,
"_spec": "repeat-string@^1.6.1",
"_where": "C:\\Users\\nica_\\Desktop\\MI\\Anul III\\London Stock Spartans\\London Stock Spartans\\nodejs\\node_modules\\fill-range",
"author": {
"name": "Jon Schlinkert",
"url": "http://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/repeat-string/issues"
},
"contributors": [
{
"name": "Brian Woodward",
"email": "brian.woodward@gmail.com",
"url": "https://github.com/doowb"
},
{
"name": "Jon Schlinkert",
"email": "jon.schlinkert@sellside.com",
"url": "http://twitter.com/jonschlinkert"
},
{
"name": "Linus Unnebäck",
"email": "linus@folkdatorn.se",
"url": "http://linus.unnebäck.se"
},
{
"name": "Thijs Busser",
"email": "tbusser@gmail.com",
"url": "http://tbusser.net"
},
{
"name": "Titus",
"email": "tituswormer@gmail.com",
"url": "wooorm.com"
}
],
"dependencies": {},
"description": "Repeat the given string n times. Fastest implementation for repeating a string.",
"devDependencies": {
"ansi-cyan": "^0.1.1",
"benchmarked": "^0.2.5",
"gulp-format-md": "^0.1.11",
"isobject": "^2.1.0",
"mocha": "^3.1.2",
"repeating": "^3.0.0",
"text-table": "^0.2.0",
"yargs-parser": "^4.0.2"
},
"directories": {},
"dist": {
"shasum": "8dcae470e1c88abc2d600fff4a776286da75e637",
"tarball": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz"
},
"engines": {
"node": ">=0.10"
},
"files": [
"index.js"
],
"gitHead": "1a95c5d99a02999ccd2cf4663959a18bd2def7b8",
"homepage": "https://github.com/jonschlinkert/repeat-string",
"keywords": [
"fast",
"fastest",
"fill",
"left",
"left-pad",
"multiple",
"pad",
"padding",
"repeat",
"repeating",
"repetition",
"right",
"right-pad",
"string",
"times"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "jonschlinkert",
"email": "github@sellside.com"
},
{
"name": "doowb",
"email": "brian.woodward@gmail.com"
}
],
"name": "repeat-string",
"optionalDependencies": {},
"readme": "# repeat-string [![NPM version](https://img.shields.io/npm/v/repeat-string.svg?style=flat)](https://www.npmjs.com/package/repeat-string) [![NPM monthly downloads](https://img.shields.io/npm/dm/repeat-string.svg?style=flat)](https://npmjs.org/package/repeat-string) [![NPM total downloads](https://img.shields.io/npm/dt/repeat-string.svg?style=flat)](https://npmjs.org/package/repeat-string) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/repeat-string.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/repeat-string)\n\n> Repeat the given string n times. Fastest implementation for repeating a string.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save repeat-string\n```\n\n## Usage\n\n### [repeat](index.js#L41)\n\nRepeat the given `string` the specified `number` of times.\n\n**Example:**\n\n**Example**\n\n```js\nvar repeat = require('repeat-string');\nrepeat('A', 5);\n//=> AAAAA\n```\n\n**Params**\n\n* `string` **{String}**: The string to repeat\n* `number` **{Number}**: The number of times to repeat the string\n* `returns` **{String}**: Repeated string\n\n## Benchmarks\n\nRepeat string is significantly faster than the native method (which is itself faster than [repeating](https://github.com/sindresorhus/repeating)):\n\n```sh\n# 2x\nrepeat-string █████████████████████████ (26,953,977 ops/sec)\nrepeating █████████ (9,855,695 ops/sec)\nnative ██████████████████ (19,453,895 ops/sec)\n\n# 3x\nrepeat-string █████████████████████████ (19,445,252 ops/sec)\nrepeating ███████████ (8,661,565 ops/sec)\nnative ████████████████████ (16,020,598 ops/sec)\n\n# 10x\nrepeat-string █████████████████████████ (23,792,521 ops/sec)\nrepeating █████████ (8,571,332 ops/sec)\nnative ███████████████ (14,582,955 ops/sec)\n\n# 50x\nrepeat-string █████████████████████████ (23,640,179 ops/sec)\nrepeating █████ (5,505,509 ops/sec)\nnative ██████████ (10,085,557 ops/sec)\n\n# 250x\nrepeat-string █████████████████████████ (23,489,618 ops/sec)\nrepeating ████ (3,962,937 ops/sec)\nnative ████████ (7,724,892 ops/sec)\n\n# 2000x\nrepeat-string █████████████████████████ (20,315,172 ops/sec)\nrepeating ████ (3,297,079 ops/sec)\nnative ███████ (6,203,331 ops/sec)\n\n# 20000x\nrepeat-string █████████████████████████ (23,382,915 ops/sec)\nrepeating ███ (2,980,058 ops/sec)\nnative █████ (5,578,808 ops/sec)\n```\n\n**Run the benchmarks**\n\nInstall dev dependencies:\n\n```sh\nnpm i -d && node benchmark\n```\n\n## About\n\n### Related projects\n\n[repeat-element](https://www.npmjs.com/package/repeat-element): Create an array by repeating the given value n times. | [homepage](https://github.com/jonschlinkert/repeat-element \"Create an array by repeating the given value n times.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor**<br/> | \n| --- | --- |\n| 51 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [LinusU](https://github.com/LinusU) |\n| 2 | [tbusser](https://github.com/tbusser) |\n| 1 | [doowb](https://github.com/doowb) |\n| 1 | [wooorm](https://github.com/wooorm) |\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2016, [Jon Schlinkert](http://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/repeat-string/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 23, 2016._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/repeat-string.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {
"list": [
"repeat-element"
]
},
"helpers": [
"./benchmark/helper.js"
],
"reflinks": [
"verb"
]
},
"version": "1.6.1"
}