Debian Codegraph @

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

raw
1 {
2 "_id": "pathval",
3 "_rev": "17-f89b47909a70c2e7c0d4c15a3bb3c892",
4 "name": "pathval",
5 "description": "Object value retrieval given a string path",
6 "dist-tags": {
7 "latest": "1.1.0"
8 },
9 "versions": {
10 "0.0.1": {
11 "name": "pathval",
12 "version": "0.0.1",
13 "description": "Object value retrieval given a string path",
14 "main": "./lib/pathval.js",
15 "homepage": "https://github.com/chaijs/pathval",
16 "scripts": {
17 "test": "mocha test/*.test.js",
18 "coverage": "istanbul cover ./node_modules/.bin/_mocha test/*.test.js",
19 "coveralls": "istanbul cover ./node_modules/.bin/_mocha test/*.test.js --report lcovonly && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
20 "test-readme": "jsmd README.md"
21 },
22 "repository": {
23 "type": "git",
24 "url": "https://github.com/chaijs/pathval"
25 },
26 "devDependencies": {
27 "mocha": "~1.13.0",
28 "chai": "~1.8.1",
29 "coveralls": "~2.3.0",
30 "istanbul": "~0.1.44",
31 "jsmd": "~0.2.0"
32 },
33 "author": {
34 "name": "Veselin Todorov",
35 "email": "[email protected]"
36 },
37 "license": "MIT",
38 "bugs": {
39 "url": "https://github.com/chaijs/pathval/issues"
40 },
41 "_id": "[email protected]",
42 "dist": {
43 "shasum": "130054c3874153be50fc3fdb4c5b9a1c68036d08",
44 "tarball": "https://registry.npmjs.org/pathval/-/pathval-0.0.1.tgz"
45 },
46 "_from": ".",
47 "_npmVersion": "1.3.8",
48 "_npmUser": {
49 "name": "vesln",
50 "email": "[email protected]"
51 },
52 "maintainers": [
53 {
54 "name": "vesln",
55 "email": "[email protected]"
56 }
57 ],
58 "directories": {}
59 },
60 "0.1.0": {
61 "name": "pathval",
62 "version": "0.1.0",
63 "description": "Object value retrieval given a string path",
64 "main": "./lib/pathval.js",
65 "homepage": "https://github.com/chaijs/pathval",
66 "scripts": {
67 "test": "hydro",
68 "coverage": "istanbul cover _hydro",
69 "coveralls": "istanbul cover _hydro --report lcovonly && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
70 "test-readme": "jsmd README.md"
71 },
72 "repository": {
73 "type": "git",
74 "url": "https://github.com/chaijs/pathval"
75 },
76 "devDependencies": {
77 "coveralls": "~2.3.0",
78 "istanbul": "~0.1.44",
79 "jsmd": "~0.2.0",
80 "simple-assert": "~1.0.0",
81 "hydro": "~0.8.7",
82 "hydro-file-suite": "0.0.1",
83 "hydro-doc": "0.0.2",
84 "hydro-bdd": "0.0.3"
85 },
86 "author": {
87 "name": "Veselin Todorov",
88 "email": "[email protected]"
89 },
90 "license": "MIT",
91 "bugs": {
92 "url": "https://github.com/chaijs/pathval/issues"
93 },
94 "_id": "[email protected]",
95 "dist": {
96 "shasum": "a4b33d8c231784bb3c88bbf1802f8b59b883d5cd",
97 "tarball": "https://registry.npmjs.org/pathval/-/pathval-0.1.0.tgz"
98 },
99 "_from": ".",
100 "_npmVersion": "1.3.8",
101 "_npmUser": {
102 "name": "vesln",
103 "email": "[email protected]"
104 },
105 "maintainers": [
106 {
107 "name": "vesln",
108 "email": "[email protected]"
109 },
110 {
111 "name": "jakeluer",
112 "email": "[email protected]"
113 }
114 ],
115 "directories": {}
116 },
117 "0.1.1": {
118 "name": "pathval",
119 "version": "0.1.1",
120 "description": "Object value retrieval given a string path",
121 "main": "./index.js",
122 "homepage": "https://github.com/chaijs/pathval",
123 "scripts": {
124 "test": "hydro",
125 "coverage": "istanbul cover _hydro",
126 "coveralls": "istanbul cover _hydro --report lcovonly && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
127 "test-readme": "jsmd README.md"
128 },
129 "repository": {
130 "type": "git",
131 "url": "https://github.com/chaijs/pathval"
132 },
133 "devDependencies": {
134 "coveralls": "~2.3.0",
135 "istanbul": "~0.1.44",
136 "jsmd": "~0.2.0",
137 "simple-assert": "~1.0.0",
138 "hydro": "~0.8.7",
139 "hydro-file-suite": "0.0.1",
140 "hydro-doc": "0.0.2",
141 "hydro-bdd": "0.0.3"
142 },
143 "author": {
144 "name": "Veselin Todorov",
145 "email": "[email protected]"
146 },
147 "license": "MIT",
148 "bugs": {
149 "url": "https://github.com/chaijs/pathval/issues"
150 },
151 "_id": "[email protected]",
152 "dist": {
153 "shasum": "08f911cdca9cce5942880da7817bc0b723b66d82",
154 "tarball": "https://registry.npmjs.org/pathval/-/pathval-0.1.1.tgz"
155 },
156 "_from": ".",
157 "_npmVersion": "1.3.15",
158 "_npmUser": {
159 "name": "jakeluer",
160 "email": "[email protected]"
161 },
162 "maintainers": [
163 {
164 "name": "vesln",
165 "email": "[email protected]"
166 },
167 {
168 "name": "jakeluer",
169 "email": "[email protected]"
170 }
171 ],
172 "directories": {}
173 },
174 "0.2.0": {
175 "name": "pathval",
176 "description": "Object value retrieval given a string path",
177 "homepage": "https://github.com/chaijs/pathval",
178 "keywords": [
179 "pathval",
180 "value retrieval",
181 "chai util"
182 ],
183 "license": "MIT",
184 "author": {
185 "name": "Veselin Todorov",
186 "email": "[email protected]"
187 },
188 "files": [
189 "index.js",
190 "pathval.js"
191 ],
192 "main": "./index.js",
193 "repository": {
194 "type": "git",
195 "url": "git+ssh://[email protected]/chaijs/pathval.git"
196 },
197 "scripts": {
198 "build": "browserify --bare $npm_package_main --standalone pathval -o pathval.js",
199 "lint": "eslint --ignore-path .gitignore .",
200 "prepublish": "npm run build",
201 "semantic-release": "semantic-release pre && npm publish && semantic-release post",
202 "pretest": "npm run lint",
203 "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
204 "test:browser": "karma start --singleRun=true",
205 "test:node": "istanbul cover _mocha",
206 "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
207 },
208 "config": {
209 "ghooks": {
210 "commit-msg": "validate-commit-msg"
211 }
212 },
213 "eslintConfig": {
214 "extends": [
215 "strict/es5"
216 ],
217 "env": {
218 "es6": true
219 },
220 "globals": {
221 "HTMLElement": false
222 },
223 "rules": {
224 "complexity": 0,
225 "max-statements": 0
226 }
227 },
228 "dependencies": {
229 "type-detect": "^2.0.1"
230 },
231 "devDependencies": {
232 "browserify": "^13.0.0",
233 "browserify-istanbul": "^1.0.0",
234 "coveralls": "2.11.9",
235 "eslint": "^2.4.0",
236 "eslint-config-strict": "^8.5.0",
237 "eslint-plugin-filenames": "^0.2.0",
238 "ghooks": "^1.0.1",
239 "istanbul": "^0.4.2",
240 "karma": "^0.13.22",
241 "karma-browserify": "^5.0.2",
242 "karma-coverage": "^0.5.5",
243 "karma-mocha": "^0.2.2",
244 "karma-phantomjs-launcher": "^1.0.0",
245 "karma-sauce-launcher": "^0.3.1",
246 "lcov-result-merger": "^1.0.2",
247 "mocha": "^2.4.5",
248 "phantomjs-prebuilt": "^2.1.5",
249 "semantic-release": "^4.3.5",
250 "simple-assert": "^1.0.0",
251 "travis-after-all": "^1.4.4",
252 "validate-commit-msg": "^2.3.1"
253 },
254 "engines": {
255 "node": "*"
256 },
257 "version": "0.2.0",
258 "gitHead": "979fa9d501484be5a48f9bcaaf00d726b8190a6a",
259 "bugs": {
260 "url": "https://github.com/chaijs/pathval/issues"
261 },
262 "_id": "[email protected]",
263 "_shasum": "cf87ac1ced492cadcbcbb482d2e72012a5237ade",
264 "_from": ".",
265 "_npmVersion": "3.10.8",
266 "_nodeVersion": "0.10.47",
267 "_npmUser": {
268 "name": "chaijs",
269 "email": "[email protected]"
270 },
271 "dist": {
272 "shasum": "cf87ac1ced492cadcbcbb482d2e72012a5237ade",
273 "tarball": "https://registry.npmjs.org/pathval/-/pathval-0.2.0.tgz"
274 },
275 "maintainers": [
276 {
277 "name": "chaijs",
278 "email": "[email protected]"
279 }
280 ],
281 "_npmOperationalInternal": {
282 "host": "packages-16-east.internal.npmjs.com",
283 "tmp": "tmp/pathval-0.2.0.tgz_1475626779711_0.6217861396726221"
284 },
285 "directories": {}
286 },
287 "0.2.1": {
288 "name": "pathval",
289 "description": "Object value retrieval given a string path",
290 "homepage": "https://github.com/chaijs/pathval",
291 "keywords": [
292 "pathval",
293 "value retrieval",
294 "chai util"
295 ],
296 "license": "MIT",
297 "author": {
298 "name": "Veselin Todorov",
299 "email": "[email protected]"
300 },
301 "files": [
302 "index.js",
303 "pathval.js"
304 ],
305 "main": "./index.js",
306 "repository": {
307 "type": "git",
308 "url": "git+ssh://[email protected]/chaijs/pathval.git"
309 },
310 "scripts": {
311 "build": "browserify --bare $npm_package_main --standalone pathval -o pathval.js",
312 "lint": "eslint --ignore-path .gitignore .",
313 "prepublish": "npm run build",
314 "semantic-release": "semantic-release pre && npm publish && semantic-release post",
315 "pretest": "npm run lint",
316 "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
317 "test:browser": "karma start --singleRun=true",
318 "test:node": "istanbul cover _mocha",
319 "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
320 },
321 "config": {
322 "ghooks": {
323 "commit-msg": "validate-commit-msg"
324 }
325 },
326 "eslintConfig": {
327 "extends": [
328 "strict/es5"
329 ],
330 "env": {
331 "es6": true
332 },
333 "globals": {
334 "HTMLElement": false
335 },
336 "rules": {
337 "complexity": 0,
338 "max-statements": 0
339 }
340 },
341 "devDependencies": {
342 "browserify": "^13.0.0",
343 "browserify-istanbul": "^1.0.0",
344 "coveralls": "2.11.9",
345 "eslint": "^2.4.0",
346 "eslint-config-strict": "^8.5.0",
347 "eslint-plugin-filenames": "^0.2.0",
348 "ghooks": "^1.0.1",
349 "istanbul": "^0.4.2",
350 "karma": "^0.13.22",
351 "karma-browserify": "^5.0.2",
352 "karma-coverage": "^0.5.5",
353 "karma-mocha": "^0.2.2",
354 "karma-phantomjs-launcher": "^1.0.0",
355 "karma-sauce-launcher": "^0.3.1",
356 "lcov-result-merger": "^1.0.2",
357 "mocha": "^2.4.5",
358 "phantomjs-prebuilt": "^2.1.5",
359 "semantic-release": "^4.3.5",
360 "simple-assert": "^1.0.0",
361 "travis-after-all": "^1.4.4",
362 "validate-commit-msg": "^2.3.1"
363 },
364 "engines": {
365 "node": "*"
366 },
367 "version": "0.2.1",
368 "gitHead": "6d2f6d4db2fc62f0c74d89d0575cfd433afdd2a7",
369 "bugs": {
370 "url": "https://github.com/chaijs/pathval/issues"
371 },
372 "_id": "[email protected]",
373 "_shasum": "47ead80a77bbe6192b59326e1b71635e6962563c",
374 "_from": ".",
375 "_npmVersion": "3.10.8",
376 "_nodeVersion": "0.10.47",
377 "_npmUser": {
378 "name": "chaijs",
379 "email": "[email protected]"
380 },
381 "dist": {
382 "shasum": "47ead80a77bbe6192b59326e1b71635e6962563c",
383 "tarball": "https://registry.npmjs.org/pathval/-/pathval-0.2.1.tgz"
384 },
385 "maintainers": [
386 {
387 "name": "chaijs",
388 "email": "[email protected]"
389 }
390 ],
391 "_npmOperationalInternal": {
392 "host": "packages-16-east.internal.npmjs.com",
393 "tmp": "tmp/pathval-0.2.1.tgz_1475703461600_0.5263914761599153"
394 },
395 "directories": {}
396 },
397 "1.0.0": {
398 "name": "pathval",
399 "description": "Object value retrieval given a string path",
400 "homepage": "https://github.com/chaijs/pathval",
401 "keywords": [
402 "pathval",
403 "value retrieval",
404 "chai util"
405 ],
406 "license": "MIT",
407 "author": {
408 "name": "Veselin Todorov",
409 "email": "[email protected]"
410 },
411 "files": [
412 "index.js",
413 "pathval.js"
414 ],
415 "main": "./index.js",
416 "repository": {
417 "type": "git",
418 "url": "git+ssh://[email protected]/chaijs/pathval.git"
419 },
420 "scripts": {
421 "build": "browserify --bare $npm_package_main --standalone pathval -o pathval.js",
422 "lint": "eslint --ignore-path .gitignore .",
423 "prepublish": "npm run build",
424 "semantic-release": "semantic-release pre && npm publish && semantic-release post",
425 "pretest": "npm run lint",
426 "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
427 "test:browser": "karma start --singleRun=true",
428 "test:node": "istanbul cover _mocha",
429 "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
430 },
431 "config": {
432 "ghooks": {
433 "commit-msg": "validate-commit-msg"
434 }
435 },
436 "eslintConfig": {
437 "extends": [
438 "strict/es5"
439 ],
440 "env": {
441 "es6": true
442 },
443 "globals": {
444 "HTMLElement": false
445 },
446 "rules": {
447 "complexity": 0,
448 "max-statements": 0
449 }
450 },
451 "devDependencies": {
452 "browserify": "^13.0.0",
453 "browserify-istanbul": "^1.0.0",
454 "coveralls": "2.11.9",
455 "eslint": "^2.4.0",
456 "eslint-config-strict": "^8.5.0",
457 "eslint-plugin-filenames": "^0.2.0",
458 "ghooks": "^1.0.1",
459 "istanbul": "^0.4.2",
460 "karma": "^0.13.22",
461 "karma-browserify": "^5.0.2",
462 "karma-coverage": "^0.5.5",
463 "karma-mocha": "^0.2.2",
464 "karma-phantomjs-launcher": "^1.0.0",
465 "karma-sauce-launcher": "^0.3.1",
466 "lcov-result-merger": "^1.0.2",
467 "mocha": "^2.4.5",
468 "phantomjs-prebuilt": "^2.1.5",
469 "semantic-release": "^4.3.5",
470 "simple-assert": "^1.0.0",
471 "travis-after-all": "^1.4.4",
472 "validate-commit-msg": "^2.3.1"
473 },
474 "engines": {
475 "node": "*"
476 },
477 "version": "1.0.0",
478 "gitHead": "37f1dc9f0c41b815598e62c92bbe89b83fca1089",
479 "bugs": {
480 "url": "https://github.com/chaijs/pathval/issues"
481 },
482 "_id": "[email protected]",
483 "_shasum": "dd843dd66e7666d3193376f4479e6ee6e1d29d28",
484 "_from": ".",
485 "_npmVersion": "3.10.8",
486 "_nodeVersion": "0.10.47",
487 "_npmUser": {
488 "name": "chaijs",
489 "email": "[email protected]"
490 },
491 "dist": {
492 "shasum": "dd843dd66e7666d3193376f4479e6ee6e1d29d28",
493 "tarball": "https://registry.npmjs.org/pathval/-/pathval-1.0.0.tgz"
494 },
495 "maintainers": [
496 {
497 "name": "chaijs",
498 "email": "[email protected]"
499 }
500 ],
501 "_npmOperationalInternal": {
502 "host": "packages-16-east.internal.npmjs.com",
503 "tmp": "tmp/pathval-1.0.0.tgz_1475963991947_0.6970440507866442"
504 },
505 "directories": {}
506 },
507 "1.1.0": {
508 "name": "pathval",
509 "description": "Object value retrieval given a string path",
510 "homepage": "https://github.com/chaijs/pathval",
511 "keywords": [
512 "pathval",
513 "value retrieval",
514 "chai util"
515 ],
516 "license": "MIT",
517 "author": {
518 "name": "Veselin Todorov",
519 "email": "[email protected]"
520 },
521 "files": [
522 "index.js",
523 "pathval.js"
524 ],
525 "main": "./index.js",
526 "repository": {
527 "type": "git",
528 "url": "git+ssh://[email protected]/chaijs/pathval.git"
529 },
530 "scripts": {
531 "build": "browserify --bare $npm_package_main --standalone pathval -o pathval.js",
532 "lint": "eslint --ignore-path .gitignore .",
533 "prepublish": "npm run build",
534 "semantic-release": "semantic-release pre && npm publish && semantic-release post",
535 "pretest": "npm run lint",
536 "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
537 "test:browser": "karma start --singleRun=true",
538 "test:node": "istanbul cover _mocha",
539 "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
540 },
541 "config": {
542 "ghooks": {
543 "commit-msg": "validate-commit-msg"
544 }
545 },
546 "eslintConfig": {
547 "extends": [
548 "strict/es5"
549 ],
550 "env": {
551 "es6": true
552 },
553 "globals": {
554 "HTMLElement": false
555 },
556 "rules": {
557 "complexity": 0,
558 "max-statements": 0
559 }
560 },
561 "devDependencies": {
562 "browserify": "^13.0.0",
563 "browserify-istanbul": "^1.0.0",
564 "coveralls": "2.11.9",
565 "eslint": "^2.4.0",
566 "eslint-config-strict": "^8.5.0",
567 "eslint-plugin-filenames": "^0.2.0",
568 "ghooks": "^1.0.1",
569 "istanbul": "^0.4.2",
570 "karma": "^0.13.22",
571 "karma-browserify": "^5.0.2",
572 "karma-coverage": "^0.5.5",
573 "karma-mocha": "^0.2.2",
574 "karma-phantomjs-launcher": "^1.0.0",
575 "karma-sauce-launcher": "^0.3.1",
576 "lcov-result-merger": "^1.0.2",
577 "mocha": "^3.1.2",
578 "phantomjs-prebuilt": "^2.1.5",
579 "semantic-release": "^4.3.5",
580 "simple-assert": "^1.0.0",
581 "travis-after-all": "^1.4.4",
582 "validate-commit-msg": "^2.3.1"
583 },
584 "engines": {
585 "node": "*"
586 },
587 "version": "1.1.0",
588 "gitHead": "fd11b26a39c2d948ef6785feac1edf8c01e4a055",
589 "bugs": {
590 "url": "https://github.com/chaijs/pathval/issues"
591 },
592 "_id": "[email protected]",
593 "_shasum": "b942e6d4bde653005ef6b71361def8727d0645e0",
594 "_from": ".",
595 "_npmVersion": "3.10.8",
596 "_nodeVersion": "0.10.47",
597 "_npmUser": {
598 "name": "chaijs",
599 "email": "[email protected]"
600 },
601 "dist": {
602 "shasum": "b942e6d4bde653005ef6b71361def8727d0645e0",
603 "tarball": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz"
604 },
605 "maintainers": [
606 {
607 "name": "chaijs",
608 "email": "[email protected]"
609 }
610 ],
611 "_npmOperationalInternal": {
612 "host": "packages-12-west.internal.npmjs.com",
613 "tmp": "tmp/pathval-1.1.0.tgz_1476222299732_0.22869419353082776"
614 },
615 "directories": {}
616 }
617 },
618 "readme": "<h1 align=center>\n <a href=\"http://chaijs.com\" title=\"Chai Documentation\">\n <img alt=\"ChaiJS\" src=\"http://chaijs.com/img/chai-logo.png\"/> pathval\n </a>\n</h1>\n\n<p align=center>\n Tool for Object value retrieval given a string path for <a href=\"http://nodejs.org\">node</a> and the browser.\n</p>\n\n<p align=center>\n <a href=\"./LICENSE\">\n <img\n alt=\"license:mit\"\n src=\"https://img.shields.io/badge/license-mit-green.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://github.com/chaijs/pathval/releases\">\n <img\n alt=\"tag:?\"\n src=\"https://img.shields.io/github/tag/chaijs/pathval.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://travis-ci.org/chaijs/pathval\">\n <img\n alt=\"build:?\"\n src=\"https://img.shields.io/travis/chaijs/pathval/master.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://coveralls.io/r/chaijs/pathval\">\n <img\n alt=\"coverage:?\"\n src=\"https://img.shields.io/coveralls/chaijs/pathval/master.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://www.npmjs.com/packages/pathval\">\n <img\n alt=\"npm:?\"\n src=\"https://img.shields.io/npm/v/pathval.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://www.npmjs.com/packages/pathval\">\n <img\n alt=\"dependencies:?\"\n src=\"https://img.shields.io/npm/dm/pathval.svg?style=flat-square\"\n />\n </a>\n <a href=\"\">\n <img\n alt=\"devDependencies:?\"\n src=\"https://img.shields.io/david/chaijs/pathval.svg?style=flat-square\"\n />\n </a>\n <br/>\n <a href=\"https://saucelabs.com/u/chaijs-pathval\">\n <img\n alt=\"Selenium Test Status\"\n src=\"https://saucelabs.com/browser-matrix/chaijs-pathval.svg\"\n />\n </a>\n <br>\n <a href=\"https://chai-slack.herokuapp.com/\">\n <img\n alt=\"Join the Slack chat\"\n src=\"https://img.shields.io/badge/slack-join%20chat-E2206F.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://gitter.im/chaijs/chai\">\n <img\n alt=\"Join the Gitter chat\"\n src=\"https://img.shields.io/badge/gitter-join%20chat-D0104D.svg?style=flat-square\"\n />\n </a>\n</p>\n\n## What is pathval?\n\nPathval is a module which you can use to retrieve or set an Object's property for a given `String` path.\n\n## Installation\n\n### Node.js\n\n`pathval` is available on [npm](http://npmjs.org). To install it, type:\n\n $ npm install pathval\n\n### Browsers\n\nYou can also use it within the browser; install via npm and use the `pathval.js` file found within the download. For example:\n\n```html\n<script src=\"./node_modules/pathval/pathval.js\"></script>\n```\n\n## Usage\n\nThe primary export of `pathval` is an object which has the following methods:\n\n* `hasProperty(object, name)` - Checks whether an `object` has `name`d property or numeric array index.\n* `getPathInfo(object, path)` - Returns an object with info indicating the value of the `parent` of that path, the `name ` of the property we're retrieving and its `value`.\n* `getPathValue(object, path)` - Retrieves the value of a property at a given `path` inside an `object`'.\n* `setPathValue(object, path, value)` - Sets the `value` of a property at a given `path` inside an `object`'.\n\n```js\nvar pathval = require('pathval');\n```\n\n#### .hasProperty(object, name)\n\n```js\nvar pathval = require('pathval');\n\nvar obj = { prop: 'a value' };\npathval.hasProperty(obj, 'prop'); // true\n```\n\n#### .getPathInfo(object, path)\n\n```js\nvar pathval = require('pathval');\n\nvar obj = { earth: { country: 'Brazil' } };\npathval.getPathInfo(obj, 'earth.country'); // { parent: { country: 'Brazil' }, name: 'country', value: 'Brazil', exists: true }\n```\n\n#### .getPathValue(object, path)\n\n```js\nvar pathval = require('pathval');\n\nvar obj = { earth: { country: 'Brazil' } };\npathval.getPathValue(obj, 'earth.country'); // 'Brazil'\n```\n\n#### .setPathValue(object, path, value)\n\n```js\nvar pathval = require('pathval');\n\nvar obj = { earth: { country: 'Brazil' } };\npathval.setPathValue(obj, 'earth.country', 'USA');\n\nobj.earth.country; // 'USA'\n```\n",
619 "maintainers": [
620 {
621 "name": "chaijs",
622 "email": "[email protected]"
623 }
624 ],
625 "time": {
626 "modified": "2017-11-06T05:14:08.501Z",
627 "created": "2013-11-24T18:10:05.614Z",
628 "0.0.1": "2013-11-24T18:10:08.847Z",
629 "0.1.0": "2013-12-28T10:40:59.775Z",
630 "0.1.1": "2013-12-30T23:14:27.044Z",
631 "0.2.0": "2016-10-05T00:19:41.579Z",
632 "0.2.1": "2016-10-05T21:37:43.749Z",
633 "1.0.0": "2016-10-08T21:59:52.585Z",
634 "1.1.0": "2016-10-11T21:45:01.397Z"
635 },
636 "author": {
637 "name": "Veselin Todorov",
638 "email": "[email protected]"
639 },
640 "repository": {
641 "type": "git",
642 "url": "git+ssh://[email protected]/chaijs/pathval.git"
643 },
644 "users": {
645 "focusaurus": true,
646 "justjavac": true
647 },
648 "homepage": "https://github.com/chaijs/pathval",
649 "bugs": {
650 "url": "https://github.com/chaijs/pathval/issues"
651 },
652 "license": "MIT",
653 "readmeFilename": "README.md",
654 "keywords": [
655 "pathval",
656 "value retrieval",
657 "chai util"
658 ],
659 "_attachments": {}
660 }