{ "_id": "jsonpointer", "_rev": "20-7af40308f94f910b4adcccf4210b3fd1", "name": "jsonpointer", "description": "Simple JSON Addressing.", "dist-tags": { "latest": "4.1.0" }, "versions": { "1.0.0": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "1.0.0", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "repository": { "type": "git", "url": "git://github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": [ "node >= 0.4.9" ], "main": "./jsonpointer", "_npmJsonOpts": { "file": "/Users/jan/.npm/jsonpointer/1.0.0/package/package.json", "wscript": false, "contributors": false, "serverjs": false }, "_id": "jsonpointer@1.0.0", "dependencies": {}, "devDependencies": {}, "_engineSupported": true, "_npmVersion": "1.0.15", "_nodeVersion": "v0.4.9", "_defaultsLoaded": true, "dist": { "shasum": "846c00c02608c312122cacc86292bec186e2d2a8", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-1.0.0.tgz" }, "scripts": {}, "directories": {} }, "1.0.1": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "1.0.1", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "repository": { "type": "git", "url": "git://github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": [ "node >= 0.4.9" ], "main": "./jsonpointer", "scripts": { "test": "node test.js" }, "_npmJsonOpts": { "file": "/Users/jan/.npm/jsonpointer/1.0.1/package/package.json", "wscript": false, "contributors": false, "serverjs": false }, "_id": "jsonpointer@1.0.1", "dependencies": {}, "devDependencies": {}, "_engineSupported": true, "_npmVersion": "1.0.17", "_nodeVersion": "v0.4.9", "_defaultsLoaded": true, "dist": { "shasum": "ad2d547d447214f4d0c595fad0cea10c9e063c55", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-1.0.1.tgz" }, "directories": {} }, "1.1.0": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "1.1.0", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Filip Noetzel" } ], "repository": { "type": "git", "url": "http://github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": [ "node >= 0.4.9" ], "main": "./jsonpointer", "scripts": { "test": "node test.js" }, "_id": "jsonpointer@1.1.0", "dist": { "shasum": "c3c72efaed3b97154163dc01dd349e1cfe0f80fc", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-1.1.0.tgz" }, "_npmVersion": "1.1.69", "_npmUser": { "name": "jan", "email": "jan@apache.org" }, "maintainers": [ { "name": "jan", "email": "jan@apache.org" } ], "directories": {} }, "2.0.0": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "2.0.0", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" } ], "repository": { "type": "git", "url": "git+ssh://git@github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { "node": ">=0.6.0" }, "main": "./jsonpointer", "scripts": { "test": "node test.js" }, "license": "MIT", "gitHead": "26ea4a5c0fcb6d9a2e87f733403791dd05637af8", "homepage": "https://github.com/janl/node-jsonpointer#readme", "_id": "jsonpointer@2.0.0", "_shasum": "3af1dd20fe85463910d469a385e33017d2a030d9", "_from": ".", "_npmVersion": "2.10.1", "_nodeVersion": "0.10.36", "_npmUser": { "name": "marcbachmann", "email": "marc.brookman@gmail.com" }, "maintainers": [ { "name": "jan", "email": "jan@apache.org" }, { "name": "marcbachmann", "email": "marc.brookman@gmail.com" } ], "dist": { "shasum": "3af1dd20fe85463910d469a385e33017d2a030d9", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-2.0.0.tgz" }, "directories": {} }, "3.0.0": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "3.0.0", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Marc Bachmann", "email": "marc.brookman@gmail.com" } ], "repository": { "type": "git", "url": "http://github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { "node": ">=0.10.0" }, "main": "./jsonpointer", "scripts": { "test": "standard && node test.js" }, "license": "MIT", "devDependencies": { "standard": "^5.3.1" }, "gitHead": "35377767183e29f983e2068e1ac19e8ac089e504", "homepage": "https://github.com/janl/node-jsonpointer", "_id": "jsonpointer@3.0.0", "_shasum": "a88f123b17c23b477ba47f901529b8c37c67a7c3", "_from": ".", "_npmVersion": "2.0.2", "_nodeVersion": "0.10.38", "_npmUser": { "name": "marcbachmann", "email": "marc.brookman@gmail.com" }, "maintainers": [ { "name": "jan", "email": "jan@apache.org" }, { "name": "marcbachmann", "email": "marc.brookman@gmail.com" } ], "dist": { "shasum": "a88f123b17c23b477ba47f901529b8c37c67a7c3", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-3.0.0.tgz" }, "directories": {} }, "3.0.1": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "3.0.1", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Marc Bachmann", "email": "marc.brookman@gmail.com" } ], "repository": { "type": "git", "url": "git+ssh://git@github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { "node": ">=0.10.0" }, "main": "./jsonpointer", "scripts": { "test": "standard && node test.js" }, "license": "MIT", "devDependencies": { "standard": "^5.3.1" }, "gitHead": "bc728575105e5a2575d67bc19b6e172919408bdb", "homepage": "https://github.com/janl/node-jsonpointer#readme", "_id": "jsonpointer@3.0.1", "_shasum": "612a9578eab6df8ec9d91d399c10d0e76c7f3f94", "_from": ".", "_npmVersion": "3.8.6", "_nodeVersion": "6.1.0", "_npmUser": { "name": "marcbachmann", "email": "marc.brookman@gmail.com" }, "dist": { "shasum": "612a9578eab6df8ec9d91d399c10d0e76c7f3f94", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-3.0.1.tgz" }, "maintainers": [ { "name": "jan", "email": "jan@apache.org" }, { "name": "marcbachmann", "email": "marc.brookman@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/jsonpointer-3.0.1.tgz_1463642754087_0.6170730355661362" }, "directories": {} }, "4.0.0": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "4.0.0", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Marc Bachmann", "email": "marc.brookman@gmail.com" } ], "repository": { "type": "git", "url": "git+ssh://git@github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { "node": ">=0.10.0" }, "main": "./jsonpointer", "scripts": { "test": "standard && node test.js" }, "license": "MIT", "devDependencies": { "standard": "^5.3.1" }, "gitHead": "2d46030ba6df41b566934c7202e31fb65058de71", "homepage": "https://github.com/janl/node-jsonpointer#readme", "_id": "jsonpointer@4.0.0", "_shasum": "6661e161d2fc445f19f98430231343722e1fcbd5", "_from": ".", "_npmVersion": "3.8.6", "_nodeVersion": "6.1.0", "_npmUser": { "name": "marcbachmann", "email": "marc.brookman@gmail.com" }, "dist": { "shasum": "6661e161d2fc445f19f98430231343722e1fcbd5", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.0.tgz" }, "maintainers": [ { "name": "jan", "email": "jan@apache.org" }, { "name": "marcbachmann", "email": "marc.brookman@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/jsonpointer-4.0.0.tgz_1463651460494_0.02921536797657609" }, "directories": {} }, "4.0.1": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "4.0.1", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Marc Bachmann", "email": "marc.brookman@gmail.com" } ], "repository": { "type": "git", "url": "git+ssh://git@github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { "node": ">=0.10.0" }, "main": "./jsonpointer", "files": [ "jsonpointer.js" ], "scripts": { "test": "standard && node test.js" }, "license": "MIT", "devDependencies": { "standard": "^5.3.1" }, "gitHead": "37c73aecd5f192a00cd79c0ebbbb2034b91bcfd0", "homepage": "https://github.com/janl/node-jsonpointer#readme", "_id": "jsonpointer@4.0.1", "_shasum": "4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9", "_from": ".", "_npmVersion": "3.10.8", "_nodeVersion": "6.9.1", "_npmUser": { "name": "marcbachmann", "email": "marc.brookman@gmail.com" }, "dist": { "shasum": "4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz" }, "maintainers": [ { "name": "jan", "email": "jan@apache.org" }, { "name": "marcbachmann", "email": "marc.brookman@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/jsonpointer-4.0.1.tgz_1482326391770_0.6748844815883785" }, "directories": {} }, "4.1.0": { "name": "jsonpointer", "description": "Simple JSON Addressing.", "tags": [ "util", "simple", "util", "utility" ], "version": "4.1.0", "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Marc Bachmann", "email": "marc.brookman@gmail.com" } ], "repository": { "type": "git", "url": "git+https://github.com/janl/node-jsonpointer.git" }, "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "engines": { "node": ">=0.10.0" }, "main": "./jsonpointer", "typings": "jsonpointer.d.ts", "scripts": { "test": "npm run test:standard && npm run test:all", "test:standard": "standard", "test:all": "node test.js", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "license": "MIT", "devDependencies": { "semantic-release": "^17.1.1", "standard": "^14.3.4" }, "standard": { "ignore": [ "test.js" ] }, "gitHead": "b67e4026a102fe98ed896b4ad271db3c131a944b", "homepage": "https://github.com/janl/node-jsonpointer#readme", "_id": "jsonpointer@4.1.0", "_nodeVersion": "12.18.2", "_npmVersion": "6.14.5", "dist": { "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==", "shasum": "501fb89986a2389765ba09e6053299ceb4f2c2cc", "tarball": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz", "fileCount": 5, "unpackedSize": 6540, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/woBCRA9TVsSAnZWagAAUKMP/AghetGkOv5NgY9D6nTo\n40LOUym54wvOx03hXvO5HWGlJWtR0JrdOdbpiEkXvo3h7qNgnLR0/4ppMNYV\njW8bjSv32B2DwwE5DmexSEzd3YiuUHD5w7jL/41DseAj8cHweFguNFxYNcEV\n9P1sXgeibA4mzYheC14np3+sQPb2Wbo05sj9org6dthuCL3UY1pQOFc/LUKP\n5sajfHt2McdvYBzjZH3ehSogu0GCEQfSSHbXmi1M2r0urYZJAY+5mj2EvOQs\nUhKI6rv2fnxIKnLlFyODd49jQEtVmCPEbC8rZznuXOfeTJJScB1nmg226X/i\nWBaN7aXXdEr6ssoru8I3/wQRhDnvwgrkccD3aiP1vmS6KpPJ7dCBHpFzZM+K\ncwaZqBEIGZ9WwSHAal3fSFSeGYu0QWDHO2LFpxuYOnbaSbmDZDl7bPb6R48h\nIpl+RuFACQvtDjXJ2VzzfBCv31ntcaTiBVnbaXrzJcgPynzPDaKFYDdVxOvu\nsJtRxKFEpAU3YPjGCreqJtewAIM2W6X3dITGzBS6qi72mh3sUs/PKz2y6eq8\nIxY7XZ0rGVIIXCt7JPgv224lInpJwzM4YcYFGqJL5gy6soLh2ep0kB4ubQHS\nV5uhc6Tz+5YeeAoi4KpoksgD7DcoREXFToMnxAF783h80m2vJrz+FNzZJdVV\nt1iE\r\n=TDZ+\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "email": "jan@apache.org", "name": "jan" }, { "email": "marc.brookman@gmail.com", "name": "marcbachmann" } ], "_npmUser": { "name": "jan", "email": "jan@apache.org" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/jsonpointer_4.1.0_1593772545226_0.04037904840055839" }, "_hasShrinkwrap": false } }, "maintainers": [ { "email": "jan@apache.org", "name": "jan" }, { "email": "marc.brookman@gmail.com", "name": "marcbachmann" } ], "time": { "modified": "2020-07-03T10:35:47.791Z", "created": "2011-07-13T22:20:36.647Z", "1.0.0": "2011-07-13T22:20:37.406Z", "1.0.1": "2011-07-31T19:30:55.058Z", "1.1.0": "2013-01-20T18:56:56.694Z", "2.0.0": "2015-05-26T20:33:43.372Z", "3.0.0": "2015-09-29T23:34:02.846Z", "3.0.1": "2016-05-19T07:25:56.688Z", "4.0.0": "2016-05-19T09:51:03.394Z", "4.0.1": "2016-12-21T13:19:53.606Z", "4.1.0": "2020-07-03T10:35:45.415Z" }, "author": { "name": "Jan Lehnardt", "email": "jan@apache.org" }, "repository": { "type": "git", "url": "git+https://github.com/janl/node-jsonpointer.git" }, "users": { "slurm": true, "mojaray2k": true, "mimizq": true }, "contributors": [ { "name": "Joe Hildebrand", "email": "joe-github@cursive.net" }, { "name": "Marc Bachmann", "email": "marc.brookman@gmail.com" } ], "bugs": { "url": "http://github.com/janl/node-jsonpointer/issues" }, "readme": "# JSON Pointer for Node.js\n\nThis is an implementation of [JSON Pointer](https://tools.ietf.org/html/rfc6901).\n\n## CLI\n\nLooking to filter JSON from the command line? Check out [jsonpointer-cli](https://github.com/joeyespo/jsonpointer-cli).\n\n## Usage\n```javascript\nvar jsonpointer = require('jsonpointer');\nvar obj = { foo: 1, bar: { baz: 2}, qux: [3, 4, 5]};\n\njsonpointer.get(obj, '/foo'); // returns 1\njsonpointer.get(obj, '/bar/baz'); // returns 2\njsonpointer.get(obj, '/qux/0'); // returns 3\njsonpointer.get(obj, '/qux/1'); // returns 4\njsonpointer.get(obj, '/qux/2'); // returns 5\njsonpointer.get(obj, '/quo'); // returns undefined\n\njsonpointer.set(obj, '/foo', 6); // sets obj.foo = 6;\njsonpointer.set(obj, '/qux/-', 6) // sets obj.qux = [3, 4, 5, 6]\n\nvar pointer = jsonpointer.compile('/foo')\npointer.get(obj) // returns 1\npointer.set(obj, 1) // sets obj.foo = 1\n```\n\n## Testing\n\n $ npm test\n All tests pass.\n $\n\n[![Build Status](https://travis-ci.org/janl/node-jsonpointer.png?branch=master)](https://travis-ci.org/janl/node-jsonpointer)\n\n## Author\n\n(c) 2011-2020 Jan Lehnardt & Marc Bachmann \n\nThanks to all contributors.\n\n## License\n\nMIT License.\n", "readmeFilename": "README.md", "homepage": "https://github.com/janl/node-jsonpointer#readme", "license": "MIT" }