{"_id":"@criteria/json-pointer","_rev":"4-4f28d92d39d73b80a413cca273f0b2be","name":"@criteria/json-pointer","description":"Implementation of JSON Pointer (RFC 6901).","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.0":{"name":"@criteria/json-pointer","version":"0.0.0","keywords":["json","json-pointer","jsonpointer","pointer","rfc6901","rfc-6901","6901"],"author":{"name":"Criteria Labs Pty Ltd"},"license":"MIT","_id":"@criteria/json-pointer@0.0.0","maintainers":[{"name":"jamesmoschou-criteria","email":"james@criteria.sh"}],"homepage":"https://github.com/criteria-labs/criteria-api-tools","bugs":{"url":"https://github.com/criteria-labs/criteria-api-tools/issues","email":"support@criteria.sh"},"dist":{"shasum":"0c54679bc06b33cc256987e816f8b75c06f8a471","tarball":"https://registry.npmjs.org/@criteria/json-pointer/-/json-pointer-0.0.0.tgz","fileCount":9,"integrity":"sha512-K0RivcfdhnsrOoRV3iNsq0ldpeNHfeGbmhDgcoyRqcCvahposO8Fw/cfvP2dX3mApjC/CwSs0ElmAIfOrBfhNw==","signatures":[{"sig":"MEQCIDK7N4eOp23L5PkylvUNG5aSwPJW511ZQ5w2b0jnR2LCAiBFrnu05wII8spsZMddN10mca33noZG1Se5CR269a6pcQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtUKMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWPA//WgV9vjue9Uz4nUgMGnzpzdnxEN6kzCLqaj9WXEPLbFTWkkAH\r\nebqnUDj2aDGCC1fTpu6XUCx2+NTN+Q1Irl3lI2KjTkLo4UUt+qtE9YvWWpOR\r\nIajSLOXdLLv6w6a/lTFVKkzKKLBM4KVhjB3/n4hpUxul8oe8Z5ASl77wJKip\r\nj0Zk5QMd9KHzMjxmiSLZBSdPx6QDp/86yzaYBNVz0RfmYnLGaKN88Y3QLDZL\r\n0v2BRNsXFGS60UEowZUVdj/mmqtdWm/trz5rt5Hjng4C3iRSEkW/I6HXB3i5\r\no8MeShr/NA1nw+zqxXtanoDObhRTO6NQ22BNT5MFPqCvlolQmUw+T7U1WuyM\r\ngeH/uxeZ2ho6KLM88tjZn+F38/VtC2wKyTW1KHrYBr1A7GYVHmom9viv8ISM\r\nVNYSsAyhosTbJTr2OmeUtsR3pvRpl198q8/cAP59xNKCmy1pmZo3QjixSkng\r\nQR2Py1ki6SM/9bB8n+m+hdFJ9huqrM5iqbH9i2rooQySU1A0wbLIel9y+yOG\r\nlUxyQ0dFNjjOFO2g+M/OBGT5JCOsBW+qwOifeopPpz/NGWYvTZXXC+iCkNiE\r\nY6DCQjYOm1EIMD295yDUQ2K6XOVVIURoy9MECjNxPs14y2+/Vb8x7fRKyNvT\r\nSQwzcDy9rbvp4OclJAWghsq06DX6ccqf5r4=\r\n=Jyyj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.12.1"},"gitHead":"56df542f5de543cd31e6f2258cea169417f3bc3f","scripts":{"test":"jest .","build":"tsc --build"},"_npmUser":{"name":"jamesmoschou-criteria","email":"james@criteria.sh"},"repository":{"url":"git+https://github.com/criteria-labs/criteria-api-tools.git","type":"git","directory":"packages/criteria-json-pointer"},"_npmVersion":"8.19.2","description":"Implementation of JSON Pointer (RFC 6901).","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","ts-jest":"^29.0.3","typescript":"^4.9.4","@types/jest":"^29.2.4"},"_npmOperationalInternal":{"tmp":"tmp/json-pointer_0.0.0_1672823436475_0.6150717653690292","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@criteria/json-pointer","version":"0.1.0","keywords":["json","json-pointer","jsonpointer","pointer","rfc6901","rfc-6901","6901"],"author":{"name":"Criteria Labs Pty Ltd"},"license":"MIT","_id":"@criteria/json-pointer@0.1.0","maintainers":[{"name":"jamesmoschou-criteria","email":"james@criteria.sh"}],"homepage":"https://github.com/criteria-labs/criteria-api-tools","bugs":{"url":"https://github.com/criteria-labs/criteria-api-tools/issues","email":"support@criteria.sh"},"dist":{"shasum":"8cff7cf1e96013d5f43c6e8986267f90c68079c2","tarball":"https://registry.npmjs.org/@criteria/json-pointer/-/json-pointer-0.1.0.tgz","fileCount":11,"integrity":"sha512-Y1itlOMO3s4EU76Kd0sSP7WG0aVxvSBab0ZbeHYGyME5qUvE4yZqUZ7zHODY4p4M2TafDg2iQgYdqYbM3lOQgQ==","signatures":[{"sig":"MEYCIQDMW2t7vqHExRfHMDdC7dSZ3DTGXH8cHf0F0pjMNxqNHwIhAL5oqlNnTS0uHYfhsYMSsEJJqFSDkfcGQJEdsagglWuO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6D4PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZIg/+MsrU3BOffFzErF8751Ii7AxsHSgWVwWtz8rkdnTrMK+JVKYZ\r\nJMxucjhla/BJkts5u/mDdKAkoDYx7F1neO2kBpk1J56TRzuzr35g0fNXMOxH\r\ngzMVbQxI8L8rTimgxLinfrbGcOkzM1ngM6WbagG3PF/bBoyWUFCac1evJ7AM\r\nQDUV/kBRbr2ie2Ye2ySBChDfLdp7YfNp8lK9m0Payq9S6/ibso4gqTA5ZfeY\r\n7j/41DtxNr/X4Xsuf4312RmVklbOAS4PjymZBuscZ40k5Gi6+KUoPDK03Z8g\r\n+P7RP8Socc/iNsBSBaV0eQ6qL9jx9VwAkHotJudklooHC1lDzmvhxdyW+6+U\r\nc4vouiC2qC8tvGTwndcN3rz9u49wySpLt1kBFyMxruO35GkBUDPeYrvSByL6\r\n0GfIY4Bayxb6NF2WY+NKZ9N9VnXEiiJRoZJNxTncbhINbBkoX5bFeA8QcV6v\r\nKUUWuJyOTuetSBugwZet4Ri/Eb8RbkHkU78Jndm0LtfZtFihFtaemrvv/yRQ\r\nNPype3NCQxTsOqT+lpMUJ9+/PPnGDfE5IWMpQp1a7o89NDCjtFJAjYkKrqNZ\r\n/v+q++SzkZCcq/r7+SoYOof3CAMtngwjQ1CYExJIhBMsDQPrvo1kemnQyMoX\r\nnn3SC8MXOtQapMj7HgzCAzGaOFq8sBM0PvE=\r\n=Nbd/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.12.1"},"gitHead":"91edd9e914618fdfd7cc76204f97fe0879c22c22","scripts":{"test":"jest .","build":"tsc --build"},"_npmUser":{"name":"jamesmoschou-criteria","email":"james@criteria.sh"},"repository":{"url":"git+https://github.com/criteria-labs/criteria-api-tools.git","type":"git","directory":"packages/criteria-json-pointer"},"_npmVersion":"8.19.2","description":"Implementation of JSON Pointer (RFC 6901).","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","ts-jest":"^29.0.3","typescript":"^4.9.4","@types/jest":"^29.2.4"},"_npmOperationalInternal":{"tmp":"tmp/json-pointer_0.1.0_1676164622790_0.7896921967735622","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@criteria/json-pointer","version":"0.1.1","keywords":["json","json-pointer","jsonpointer","pointer","rfc6901","rfc-6901","6901"],"author":{"name":"Criteria Labs Pty Ltd"},"license":"MIT","_id":"@criteria/json-pointer@0.1.1","maintainers":[{"name":"jamesmoschou-criteria","email":"james@criteria.sh"}],"homepage":"https://github.com/criteria-labs/criteria-api-tools","bugs":{"url":"https://github.com/criteria-labs/criteria-api-tools/issues","email":"support@criteria.sh"},"dist":{"shasum":"2aa1955ea6471064a003750d0aab1c4a219b982b","tarball":"https://registry.npmjs.org/@criteria/json-pointer/-/json-pointer-0.1.1.tgz","fileCount":13,"integrity":"sha512-295GF3+2l2T8R7BBRvg5dBT+a1E+Qf5AGj4qBwlzYmR0xivxkxeVyTMyASlJYmC7AimcdR2LWfDvvhUjnnX6fA==","signatures":[{"sig":"MEUCIQDmIobZtr5PrV+eCSVdXrOnuhPff+utWVhatM1/zciNtwIgRiNIeK96BvwZ+MdFI57OU0BgciImTacNPthFAAV/ixs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5965},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.12.1"},"gitHead":"82b465b3e65117a3b7e3edffced9020589b3ac2f","scripts":{"test":"jest .","build":"tsc --build"},"_npmUser":{"name":"jamesmoschou-criteria","email":"james@criteria.sh"},"repository":{"url":"git+https://github.com/criteria-labs/criteria-api-tools.git","type":"git","directory":"packages/criteria-json-pointer"},"_npmVersion":"9.8.1","description":"Implementation of JSON Pointer (RFC 6901).","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","ts-jest":"^29.0.3","typescript":"^4.9.4","@types/jest":"^29.2.4"},"_npmOperationalInternal":{"tmp":"tmp/json-pointer_0.1.1_1704180741713_0.21262464997806818","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@criteria/json-pointer","version":"0.2.0","keywords":["json","json-pointer","jsonpointer","pointer","rfc6901","rfc-6901","6901"],"author":{"name":"Criteria Labs Pty Ltd"},"license":"MIT","_id":"@criteria/json-pointer@0.2.0","maintainers":[{"name":"jamesmoschou-criteria","email":"james@criteria.sh"}],"homepage":"https://github.com/criteria-labs/criteria-api-tools","bugs":{"url":"https://github.com/criteria-labs/criteria-api-tools/issues","email":"support@criteria.sh"},"dist":{"shasum":"a373f45cfbd51948407f399bb1a20f4cc23eae9f","tarball":"https://registry.npmjs.org/@criteria/json-pointer/-/json-pointer-0.2.0.tgz","fileCount":15,"integrity":"sha512-CeSWYJ1dUwgE/XjHT2CPuPNqT8W0BisX/New8/hlCqNN+yGKgB6fIkdx+9u34yXiIzYNrfmpmFrZazFTRr3cUA==","signatures":[{"sig":"MEUCIDMAwVT0CsbW0FpMND40XpNeXyJ5ntIwDtizEpfxEG43AiEA14syrRzFiFYOhyJpx+nxnre57BR2is5i9dnjqeOdloI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6326},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.12.1"},"gitHead":"5e9f956c81c08a06a29db36bff18427a0d470e78","scripts":{"test":"jest .","build":"tsc --build"},"_npmUser":{"name":"jamesmoschou-criteria","email":"james@criteria.sh"},"repository":{"url":"git+https://github.com/criteria-labs/criteria-api-tools.git","type":"git","directory":"packages/criteria-json-pointer"},"_npmVersion":"10.5.2","description":"Implementation of JSON Pointer (RFC 6901).","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","ts-jest":"^29.0.3","typescript":"^4.9.4","@types/jest":"^29.2.4"},"_npmOperationalInternal":{"tmp":"tmp/json-pointer_0.2.0_1720069721958_0.9713832378962606","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@criteria/json-pointer","version":"0.2.1","description":"Implementation of JSON Pointer (RFC 6901).","keywords":["json","json-pointer","jsonpointer","pointer","rfc6901","rfc-6901","6901"],"homepage":"https://github.com/criteria-labs/criteria-api-tools","bugs":{"url":"https://github.com/criteria-labs/criteria-api-tools/issues","email":"support@criteria.sh"},"license":"MIT","author":{"name":"Criteria Labs Pty Ltd"},"main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/criteria-labs/criteria-api-tools.git","directory":"packages/criteria-json-pointer"},"scripts":{"build":"tsc --build","test":"jest ."},"devDependencies":{"@types/jest":"^29.2.4","jest":"^29.3.1","ts-jest":"^29.0.3","typescript":"^4.9.4"},"engines":{"node":">=18.12.1"},"_id":"@criteria/json-pointer@0.2.1","gitHead":"cc8fb115f8caa600c44271e598ee50e899b6f417","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-+UcEXcbZLkmhB4vuuuLAfnWD7cGmUGrZxzldFFdLwFKglkGuLiE4YTBX0gvEQuVHTwMN/f1R/0TB3YRzf5/BPw==","shasum":"62b78300434c179c93fab28a91b5b612d209a291","tarball":"https://registry.npmjs.org/@criteria/json-pointer/-/json-pointer-0.2.1.tgz","fileCount":15,"unpackedSize":6587,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKXv1S4aTyez41Mxrj7qeJgQAbHv5z0kvNS9LMztNraAiEAjhwVdl6yxeAWmni9kT8dzYOIWKgZsD0+TrlZXMFArTM="}]},"_npmUser":{"name":"jamesmoschou-criteria","email":"james@criteria.sh"},"directories":{},"maintainers":[{"name":"jamesmoschou-criteria","email":"james@criteria.sh"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-pointer_0.2.1_1720069745452_0.7869444200694649"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-04T09:10:36.426Z","modified":"2024-07-04T05:09:05.759Z","0.0.0":"2023-01-04T09:10:36.660Z","0.1.0":"2023-02-12T01:17:03.005Z","0.1.1":"2024-01-02T07:32:21.903Z","0.2.0":"2024-07-04T05:08:42.096Z","0.2.1":"2024-07-04T05:09:05.574Z"},"maintainers":[{"name":"jamesmoschou-criteria","email":"james@criteria.sh"}],"author":{"name":"Criteria Labs Pty Ltd"},"repository":{"type":"git","url":"git+https://github.com/criteria-labs/criteria-api-tools.git","directory":"packages/criteria-json-pointer"},"keywords":["json","json-pointer","jsonpointer","pointer","rfc6901","rfc-6901","6901"],"license":"MIT","homepage":"https://github.com/criteria-labs/criteria-api-tools","bugs":{"url":"https://github.com/criteria-labs/criteria-api-tools/issues","email":"support@criteria.sh"},"readme":"# JSON Pointer\n\nImplementation of JSON Pointer ([RFC 6901](https://www.rfc-editor.org/rfc/rfc6901)).\n\n## Installation\n\n```\nnpm install @criteria/json-pointer\n```\n\n## Usage\n\nEvaluate a JSON Pointer:\n\n```\nimport { evaluateJSONPointer } from '@criteria/json-pointer'\n\nconst str = '#/foo'\nconst document = {\n    foo: true\n}\n\nconst value = evaluateJSONPointer(str, document)\n// value === true\n```\n\nValidate that a string is a JSON Pointer:\n\n```\nimport { validateJSONPointer } from '@criteria/json-pointer'\n\nconst str = '#/foo'\n\ntry {\n  validateJSONPointer(str)\n  // valid\n} catch (err) {\n  // not valid\n}\n```\n","readmeFilename":"README.md"}