Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/toidentifier.json

raw
1 {
2 "_id": "toidentifier",
3 "_rev": "4-4b288931e281a49f77fadf7e59b8a4f7",
4 "name": "toidentifier",
5 "description": "Convert a string of words to a JavaScript identifier",
6 "dist-tags": {
7 "latest": "1.0.0"
8 },
9 "versions": {
10 "0.0.1": {
11 "name": "toidentifier",
12 "description": "Convert a string of words to a JavaScript identifier",
13 "version": "0.0.1",
14 "author": {
15 "name": "Douglas Christopher Wilson",
16 "email": "[email protected]"
17 },
18 "bugs": {
19 "url": "https://github.com/koajs/toidentifier/issues",
20 "email": "[email protected]"
21 },
22 "contributors": [
23 {
24 "name": "Douglas Christopher Wilson",
25 "email": "[email protected]"
26 },
27 {
28 "name": "Nick Baugh",
29 "email": "[email protected]",
30 "url": "http://niftylettuce.com/"
31 }
32 ],
33 "dependencies": {},
34 "ava": {
35 "failFast": true,
36 "verbose": true
37 },
38 "devDependencies": {
39 "ava": "^0.22.0",
40 "babel-cli": "^6.26.0",
41 "babel-preset-env": "^1.6.1",
42 "codecov": "^2.3.0",
43 "cross-env": "^5.0.5",
44 "eslint": "^4.5.0",
45 "eslint-config-prettier": "^2.3.0",
46 "eslint-plugin-prettier": "^2.2.0",
47 "husky": "^0.14.3",
48 "lint-staged": "^4.0.4",
49 "nyc": "^11.1.0",
50 "prettier": "^1.6.1",
51 "remark-cli": "^4.0.0",
52 "remark-preset-github": "^0.0.6",
53 "xo": "^0.19.0"
54 },
55 "engines": {
56 "node": ">=0.6"
57 },
58 "homepage": "https://github.com/koajs/toidentifier",
59 "keywords": [
60 "to",
61 "identifier"
62 ],
63 "license": "MIT",
64 "lint-staged": {
65 "*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [
66 "prettier --write --single-quote --trailing-comma none",
67 "git add"
68 ],
69 "*.md": [
70 "remark . -qfo",
71 "git add"
72 ]
73 },
74 "main": "lib/index.js",
75 "remarkConfig": {
76 "plugins": [
77 "preset-github"
78 ]
79 },
80 "repository": {
81 "type": "git",
82 "url": "git+https://github.com/koajs/toidentifier.git"
83 },
84 "files": [
85 "lib"
86 ],
87 "scripts": {
88 "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
89 "lint": "xo && remark . -qfo",
90 "precommit": "lint-staged && npm test",
91 "test": "npm run build && npm run lint && npm run test-coverage",
92 "test-coverage": "cross-env NODE_ENV=test nyc ava",
93 "build": "babel src --out-dir lib",
94 "watch": "babel src --watch --out-dir lib"
95 },
96 "xo": {
97 "extends": "prettier",
98 "plugins": [
99 "prettier"
100 ],
101 "parserOptions": {
102 "sourceType": "script"
103 },
104 "rules": {
105 "prettier/prettier": [
106 "error",
107 {
108 "singleQuote": true,
109 "bracketSpacing": true,
110 "trailingComma": "none"
111 }
112 ],
113 "max-len": [
114 "error",
115 {
116 "code": 80,
117 "ignoreUrls": true
118 }
119 ],
120 "capitalized-comments": "off",
121 "camelcase": "off",
122 "no-warning-comments": "off"
123 },
124 "space": true
125 },
126 "gitHead": "6bf014ae81988f80eed392f2d47cda032efdaccf",
127 "_id": "[email protected]",
128 "_npmVersion": "5.6.0",
129 "_nodeVersion": "8.9.0",
130 "_npmUser": {
131 "name": "niftylettuce",
132 "email": "[email protected]"
133 },
134 "dist": {
135 "integrity": "sha512-rbnQkrIivqT1LG6lv4zIbjXG43nmtQvugnEK6E5tA0OlDJcK6e0O6DkxYmaV/zcB4Sd7Hb2uB0892I7CMYJdww==",
136 "shasum": "32fe700072972c0689f67fdb0e1eb92b2d18d413",
137 "tarball": "https://registry.npmjs.org/toidentifier/-/toidentifier-0.0.1.tgz"
138 },
139 "maintainers": [
140 {
141 "name": "niftylettuce",
142 "email": "[email protected]"
143 }
144 ],
145 "_npmOperationalInternal": {
146 "host": "s3://npm-registry-packages",
147 "tmp": "tmp/toidentifier-0.0.1.tgz_1513674524835_0.4889004931319505"
148 },
149 "directories": {}
150 },
151 "1.0.0": {
152 "name": "toidentifier",
153 "description": "Convert a string of words to a JavaScript identifier",
154 "version": "1.0.0",
155 "author": {
156 "name": "Douglas Christopher Wilson",
157 "email": "[email protected]"
158 },
159 "contributors": [
160 {
161 "name": "Douglas Christopher Wilson",
162 "email": "[email protected]"
163 },
164 {
165 "name": "Nick Baugh",
166 "email": "[email protected]",
167 "url": "http://niftylettuce.com/"
168 }
169 ],
170 "repository": {
171 "type": "git",
172 "url": "git+https://github.com/component/toidentifier.git"
173 },
174 "devDependencies": {
175 "eslint": "4.19.1",
176 "eslint-config-standard": "11.0.0",
177 "eslint-plugin-import": "2.11.0",
178 "eslint-plugin-markdown": "1.0.0-beta.6",
179 "eslint-plugin-node": "6.0.1",
180 "eslint-plugin-promise": "3.7.0",
181 "eslint-plugin-standard": "3.1.0",
182 "mocha": "1.21.5",
183 "nyc": "11.8.0"
184 },
185 "engines": {
186 "node": ">=0.6"
187 },
188 "license": "MIT",
189 "files": [
190 "index.js"
191 ],
192 "scripts": {
193 "lint": "eslint --plugin markdown --ext js,md .",
194 "test": "mocha --reporter spec --bail --check-leaks test/",
195 "test-cov": "nyc --reporter=html --reporter=text npm test"
196 },
197 "gitHead": "8c09cba5e530de7d74b087ea66740c0e4a5af02b",
198 "bugs": {
199 "url": "https://github.com/component/toidentifier/issues"
200 },
201 "homepage": "https://github.com/component/toidentifier#readme",
202 "_id": "[email protected]",
203 "_npmVersion": "5.6.0",
204 "_nodeVersion": "8.11.3",
205 "_npmUser": {
206 "name": "dougwilson",
207 "email": "[email protected]"
208 },
209 "dist": {
210 "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
211 "shasum": "7e1be3470f1e77948bc43d94a3c8f4d7752ba553",
212 "tarball": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
213 "fileCount": 4,
214 "unpackedSize": 4327,
215 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ4XTCRA9TVsSAnZWagAA7DoP/j60iZmXQNybYW88ghH2\nb0/OM4HaSAJFZaPLs/QWHAG+1njmk4Inxr0YPeqAcU8bkh8UvUBAsf/qnNOV\nVx8R5MQspibif04/f/nB+ZZyoFvv45270S5M+hb22colM3BK0FnfImVZHqI6\n0n+fbicoYYCg3KxEpLC4GdXbJ2R6iSJ+kCnvTFX7/EzDoDjZJjzSMn96HpH+\nakvIo0kEXsTMVmjWwQSo++7JzsfBJs7Z2X+ixOdhf1HHYU5yiDS/8blXY5hN\nG5tcXbsBsFMPSRwKzArB8SqTejls6uRY21DmzvXnNCfS5k5FyftGLtBTpmwk\n2mHLENZ+79t+HP4tXmF/2scY/XjIWCtxjmOPBHg9eMoCe7uiEf/MkNoPQ29a\nKYMYz3gePkHG6NH+IN69e0KYmdzyowxtQy0Oel3L71nnguFD0DzJuhODahvl\nWdrzkyKWYHkrByIQmsYhLei67I+fgiAEURFhXHwRQ6TfW+i7I+0vx6qVZ7Uz\n8kCo7SELv6Suo62QXxB3O9u0qZyISXWfxbV48+T5KDayWmBVNEo9yktzPMF6\nIv49uczFdrGI5rAI2/zW5Ss7I00OnbY1I4va36JkEcoxqriiYGhLK+a7/061\nRKoB8fSKWCaiXEYcNkjiEIhI+5n57xOA4PuEUnfpqizo8yvxVLvOLUmNCtm3\nBVOV\r\n=Yk0D\r\n-----END PGP SIGNATURE-----\r\n"
216 },
217 "maintainers": [
218 {
219 "email": "[email protected]",
220 "name": "dougwilson"
221 },
222 {
223 "email": "[email protected]",
224 "name": "jongleberry"
225 },
226 {
227 "email": "[email protected]",
228 "name": "niftylettuce"
229 }
230 ],
231 "directories": {},
232 "_npmOperationalInternal": {
233 "host": "s3://npm-registry-packages",
234 "tmp": "tmp/toidentifier_1.0.0_1531151827437_0.3834790263753669"
235 }
236 }
237 },
238 "readme": "# toidentifier\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][codecov-image]][codecov-url]\n\n> Convert a string of words to a JavaScript identifier\n\n## Install\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```bash\n$ npm install toidentifier\n```\n\n## Example\n\n```js\nvar toIdentifier = require('toidentifier')\n\nconsole.log(toIdentifier('Bad Request'))\n// => \"BadRequest\"\n```\n\n## API\n\nThis CommonJS module exports a single default function: `toIdentifier`.\n\n### toIdentifier(string)\n\nGiven a string as the argument, it will be transformed according to\nthe following rules and the new string will be returned:\n\n1. Split into words separated by space characters (`0x20`).\n2. Upper case the first character of each word.\n3. Join the words together with no separator.\n4. Remove all non-word (`[0-9a-z_]`) characters.\n\n## License\n\n[MIT](LICENSE)\n\n[codecov-image]: https://img.shields.io/codecov/c/github/component/toidentifier.svg\n[codecov-url]: https://codecov.io/gh/component/toidentifier\n[downloads-image]: https://img.shields.io/npm/dm/toidentifier.svg\n[downloads-url]: https://npmjs.org/package/toidentifier\n[npm-image]: https://img.shields.io/npm/v/toidentifier.svg\n[npm-url]: https://npmjs.org/package/toidentifier\n[travis-image]: https://img.shields.io/travis/component/toidentifier/master.svg\n[travis-url]: https://travis-ci.org/component/toidentifier\n\n\n##\n\n[npm]: https://www.npmjs.com/\n\n[yarn]: https://yarnpkg.com/\n",
239 "maintainers": [
240 {
241 "email": "[email protected]",
242 "name": "dougwilson"
243 },
244 {
245 "email": "[email protected]",
246 "name": "jongleberry"
247 },
248 {
249 "email": "[email protected]",
250 "name": "niftylettuce"
251 }
252 ],
253 "time": {
254 "modified": "2018-07-09T15:57:10.194Z",
255 "created": "2017-12-19T09:08:44.919Z",
256 "0.0.1": "2017-12-19T09:08:44.919Z",
257 "1.0.0": "2018-07-09T15:57:07.703Z"
258 },
259 "homepage": "https://github.com/component/toidentifier#readme",
260 "repository": {
261 "type": "git",
262 "url": "git+https://github.com/component/toidentifier.git"
263 },
264 "contributors": [
265 {
266 "name": "Douglas Christopher Wilson",
267 "email": "[email protected]"
268 },
269 {
270 "name": "Nick Baugh",
271 "email": "[email protected]",
272 "url": "http://niftylettuce.com/"
273 }
274 ],
275 "author": {
276 "name": "Douglas Christopher Wilson",
277 "email": "[email protected]"
278 },
279 "bugs": {
280 "url": "https://github.com/component/toidentifier/issues"
281 },
282 "license": "MIT",
283 "readmeFilename": "README.md",
284 "_attachments": {}
285 }