{"_id":"get-json","_rev":"28-bbd3501433ec516922a2549a8466c2c9","name":"get-json","description":"Cross-platform library for getting JSON docs","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"get-json","version":"0.0.0","author":"azer","license":"BSD","_id":"get-json@0.0.0","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"dist":{"shasum":"039a3a2a379f13099d5ea1edf628b814ff7ec91e","tarball":"https://registry.npmjs.org/get-json/-/get-json-0.0.0.tgz","integrity":"sha512-SnGsSMFQeSo7UVm2ZwoatGUUhRmumonnes54d6joMIBn+Yd2cri9qFCMqcReN7pnGliMxxzKPNptmQMlncm/WA==","signatures":[{"sig":"MEUCIQDh9zseYhvCYFy5ZLNjpo7Rl0t6M7SAdrPsw+rnSmYaYAIgLWUX9CTKhM/V9+LWNEvvFf6rUOBJOYQkiM148oBcA2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"039a3a2a379f13099d5ea1edf628b814ff7ec91e","scripts":{"test":"fox"},"_npmUser":{"name":"npm","email":"support@npmjs.com"},"repository":{"url":"git@github.com:azer/get-json.git","type":"git"},"_npmVersion":"0.0.0-fake","description":"Request wrapper returns only error and JSON body","directories":{},"_nodeVersion":"0.0.0-fake","dependencies":{"request":"*"},"devDependencies":{"fox":"*"}},"0.0.1":{"name":"get-json","version":"0.0.1","author":"azer","license":"BSD","_id":"get-json@0.0.1","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"dist":{"shasum":"0c47845ff5adb74a61135989341fbbd5fd377b05","tarball":"https://registry.npmjs.org/get-json/-/get-json-0.0.1.tgz","integrity":"sha512-tAILBkh+z+16x7Xql3U2s6KqC5W/nVcakITs4PpXKaekF0fAfJ7Wui6rOzO9MMsKwnjfUu+sVTsLgiNMq5xh4A==","signatures":[{"sig":"MEUCIQDHm54OqArPfux8cFXta+OKsyPl6cioiIBgXo+ByW1xmQIgfKuDvB9lYPfJKlSt2x467k3FSfbyQw69+ovIvtZfxn8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"0c47845ff5adb74a61135989341fbbd5fd377b05","scripts":{"test":"fox"},"_npmUser":{"name":"npm","email":"support@npmjs.com"},"repository":{"url":"git@github.com:azer/get-json.git","type":"git"},"_npmVersion":"0.0.0-fake","description":"Request wrapper returns only error and JSON body","directories":{},"_nodeVersion":"0.0.0-fake","dependencies":{"request":"*"},"devDependencies":{"fox":"*"}},"0.0.2":{"name":"get-json","version":"0.0.2","author":"azer","license":"BSD","_id":"get-json@0.0.2","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"dist":{"shasum":"0cdde7121efb8c459161e2c11c6bea98de87b817","tarball":"https://registry.npmjs.org/get-json/-/get-json-0.0.2.tgz","integrity":"sha512-NWz9JEULMTx4StX+5vYj6fSa+KjOeemJn4mttBFkx/yB7YO+cf1UZtzV71dnZLYo1C6YkBht40m7vFKYC6wd2w==","signatures":[{"sig":"MEYCIQCjTwtzv++Yo+LCmYcz3z0nAUdLaIYv4KUrX0FlHR9SmgIhAOuAIjdXfqsNg4JfTKBLknjAm20ZjxHiWsORNcQhsf1D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"0cdde7121efb8c459161e2c11c6bea98de87b817","scripts":{"test":"node test"},"_npmUser":{"name":"npm","email":"support@npmjs.com"},"repository":{"url":"git@github.com:azer/get-json.git","type":"git"},"_npmVersion":"0.0.0-fake","description":"Cross-platform library for getting JSON docs","directories":{},"_nodeVersion":"0.0.0-fake","dependencies":{"jsonp":"0.0.4","is-node":"0.0.0","request":"*"},"devDependencies":{"prova":"*"}},"2.0.0":{"name":"get-json","version":"2.0.0","author":"","license":"ISC","_id":"get-json@2.0.0","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"dist":{"shasum":"028d59cc5adbcd306f01dc747504160b0e90e08e","tarball":"https://registry.npmjs.org/get-json/-/get-json-2.0.0.tgz","integrity":"sha512-EIaVw2+5ToYBkPnYHDwbJ2GiQKGnvBn79lS7D8CmpGQahjGjab8JJuZFZPHN9VM4Rmu6s9m6DjbbRFzipZMlOw==","signatures":[{"sig":"MEUCIEbm4oJZjRyCrMWHYeLxDmyE3o/HWfPWGc63nW7prA4VAiEA/Djee7yxRKmhekRBnQzhzbcJyI+0OylZF7wAGMEvWP8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"028d59cc5adbcd306f01dc747504160b0e90e08e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nj48","email":"spam@njohnson.me"},"deprecated":"this version should not be used and was published erroneously","_npmVersion":"3.7.2","description":"","directories":{},"_nodeVersion":"4.3.0"},"0.0.1-security":{"name":"get-json","version":"0.0.1-security","keywords":[],"author":"","license":"ISC","_id":"get-json@0.0.1-security","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"homepage":"https://github.com/npm/security-holder#readme","bugs":{"url":"https://github.com/npm/security-holder/issues"},"dist":{"shasum":"0f7c1ee639c444daaa3b57a2b07090697374065c","tarball":"https://registry.npmjs.org/get-json/-/get-json-0.0.1-security.tgz","integrity":"sha512-vkk6ZvH5C32yObHb8JQW+ajRv2hgSEzA2hTLGHcDmDmjCpjvNI7yhTLFjswvibj4jYfwD8i5KBeoh6PMeS8NRw==","signatures":[{"sig":"MEQCIDreDPkkkDia4AcXvZd/spbNqRhINuC/n0xR2vWG45JjAiBvHnbR1HP5aGN16tqApJEIGNJfht9P5DAY/Pw/mrH7oA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"0f7c1ee639c444daaa3b57a2b07090697374065c","gitHead":"d1719e2a152734ed854065de56039770c9104d83","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"npm","email":"npm@npmjs.com"},"repository":{"url":"git+https://github.com/npm/security-holder.git","type":"git"},"_npmVersion":"3.6.0","description":"This package name is not currently in use, but was formerly occupied by a popular package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.","directories":{},"_nodeVersion":"5.1.0"},"0.0.3":{"name":"get-json","version":"0.0.3","author":{"name":"azer"},"license":"BSD","_id":"get-json@0.0.3","maintainers":[{"name":"zeke","email":"zeke@sikelianos.com"}],"homepage":"https://github.com/zeke/get-json#readme","bugs":{"url":"https://github.com/zeke/get-json/issues"},"dist":{"shasum":"6b0de5271a55807c6b3bd1b13dfb66e05a9e12aa","tarball":"https://registry.npmjs.org/get-json/-/get-json-0.0.3.tgz","integrity":"sha512-gDWIjWqDnC6W6QYpiPZDLpHRq/R6st6NELdirOML4XAGh9DPgB3L+CE0RMJnnYV4mt+3VBXH5zKRKP1WjW8e3w==","signatures":[{"sig":"MEYCIQDbehqtdPh6hX1QxGOIE6qfbZlv5ag86rTDOguh4a+YvQIhAJKz7YN7nxUZ9onDspMCPD3pEeZMFPjrbKOy9H9qJIWo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6b0de5271a55807c6b3bd1b13dfb66e05a9e12aa","gitHead":"336837ba800e5b64c12ce0e3af7801e336cb6d0e","scripts":{"test":"node test"},"_npmUser":{"name":"zeke","email":"zeke@sikelianos.com"},"repository":{"url":"git+https://github.com/zeke/get-json.git","type":"git"},"_npmVersion":"3.8.3","description":"Cross-platform library for getting JSON docs","directories":{},"_nodeVersion":"5.10.1","dependencies":{"jsonp":"0.0.4","is-node":"0.0.0","request":"*"},"devDependencies":{"prova":"*"},"_npmOperationalInternal":{"tmp":"tmp/get-json-0.0.3.tgz_1461033187778_0.3261635499075055","host":"packages-16-east.internal.npmjs.com"}},"1.0.0":{"name":"get-json","version":"1.0.0","author":{"name":"azer"},"license":"BSD","_id":"get-json@1.0.0","maintainers":[{"name":"zeke","email":"zeke@sikelianos.com"}],"homepage":"https://github.com/zeke/get-json#readme","bugs":{"url":"https://github.com/zeke/get-json/issues"},"dist":{"shasum":"ffb61dd732d261305ccbb53002e4f57624df5727","tarball":"https://registry.npmjs.org/get-json/-/get-json-1.0.0.tgz","integrity":"sha512-hrKUsgCR/UYJ4u+g1ImS2GyQy6GbE5hXd5C8zwZvwzPaEf8M1C+dTi2WKDtwaCevy2Z1wepK0+hErZGXEQr6hA==","signatures":[{"sig":"MEUCIQCXiTTGvKjnGZHP48X1ZhRcVqe+7Ai1/HaIl3C0tXnuDQIgJLimqPhNPPxt6uUrN+zvsl82KLYQPCYyslA9PzaqSLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"2d272b8c602f7b61f5c95f1e31427f6bf371ff32","scripts":{"test":"node test"},"_npmUser":{"name":"zeke","email":"zeke@sikelianos.com"},"repository":{"url":"git+https://github.com/zeke/get-json.git","type":"git"},"_npmVersion":"5.3.0","description":"Cross-platform library for getting JSON docs","directories":{},"_nodeVersion":"8.1.4","dependencies":{"phin":"^2.2.6","jsonp":"0.0.4","is-node":"0.0.0"},"devDependencies":{"prova":"github:azer/prova"},"_npmOperationalInternal":{"tmp":"tmp/get-json-1.0.0.tgz_1503003318871_0.12081079347990453","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"get-json","version":"1.0.1","author":{"name":"azer"},"license":"BSD","_id":"get-json@1.0.1","maintainers":[{"name":"zeke","email":"zeke@sikelianos.com"}],"homepage":"https://github.com/zeke/get-json#readme","bugs":{"url":"https://github.com/zeke/get-json/issues"},"dist":{"shasum":"61b983f0b1b61e9c74d4413290af6b2a4e671ac8","tarball":"https://registry.npmjs.org/get-json/-/get-json-1.0.1.tgz","fileCount":6,"integrity":"sha512-buUOE2bLaxIsF6zGIrwvsTVlvgU85qwAWf0Hgq/EJBBoSssUqOauXWKpsh4wgPdTlZHEVllLtphiuIzFM4UEHQ==","signatures":[{"sig":"MEYCIQDypdCDdOHx4IfzZXki7tY6wDdQ1nPRYnbXhE99XPDc8gIhAIMpqfKEDA1loJiAOnfnU+4T3+c92jABLFi50h7HZNNy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbujFUCRA9TVsSAnZWagAAJ3wP/3gUiWG1cM6cNthqDhSs\n7d7jPgfn6jDNSXqT7X/0uYz7MTrtOcRyDU0fZvGISdYQgMRsU7F3LwlCMnd8\n/UaC2KthHGOHq8vNsNc0xwEvoRmeOlBO4JXFm2SuuiIHfbujTN76bbdOCqDV\nYJagIOoM5bsEcMpsCZHOFybIc0YFI5dPwDd7DzJGW28WFNhahT0rvqxuRA33\nnpkMj9heglzvpqvfZoF7CX6tiq+/9Ny+h1yXxn8NLvYVN3WOrhN7xnXiiCy7\nmYxwSAjp/vNwDRuDKAzDIu9x/yk5E8SpsZ1UtyNpPTLilZygPZTnBxz4x5EP\nL8CTBVmSvTBuO6eXza4ekeiJfI6jHExj3iYm/6bYQYghcKn8r995c5PW55KK\nm9XhDsNRPsWjWnIagCnhDlnwVwku1eNHB2K6p8VxgwJyiIawk1GYBaox1hkk\nwQ6g4a2CwgonESTzfkZOCZBDIGSoyodNIwAJMDn0KaOmMRSMgjmguEjnojBO\nUQoYAvL3ilaLQuSfvmSA35Z2/Red/syzUS2+zyyewUQgrZTF/6H2jzHJKC/w\nOQFwp1sta0jO7pLvMsOFWWBGQCjFjHjaku+LXAE05DME/M4pEB7pVsasUcEA\njUfHO12l+8twkAkJupSoXRZcCvYARL2B3z4aQhZ3KOODndCwm0/gO133Gkgy\nRybz\r\n=YM92\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"51d47795d9898a5ead68ee881d05ad4f43b7e01e","scripts":{"test":"node test"},"_npmUser":{"name":"zeke","email":"zeke@sikelianos.com"},"repository":{"url":"git+https://github.com/zeke/get-json.git","type":"git"},"_npmVersion":"6.4.1","description":"Cross-platform library for getting JSON docs","directories":{},"_nodeVersion":"8.12.0","dependencies":{"phin":"^2.2.6","jsonp":"0.0.4","is-node":"0.0.0"},"_hasShrinkwrap":false,"devDependencies":{"prova":"github:azer/prova"},"_npmOperationalInternal":{"tmp":"tmp/get-json_1.0.1_1538928980114_0.4527214499463599","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"get-json","version":"1.0.2","keywords":["JSON","fetch","getJSON"],"author":{"name":"azer"},"license":"BSD-3-Clause","_id":"get-json@1.0.2","maintainers":[{"name":"zeke","email":"zeke@sikelianos.com"},{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/get-json#readme","bugs":{"url":"https://github.com/ljharb/get-json/issues"},"dist":{"shasum":"b52819a86d30d27cf67dd06a78a367cd44674db3","tarball":"https://registry.npmjs.org/get-json/-/get-json-1.0.2.tgz","fileCount":9,"integrity":"sha512-u8Agv+Nwk+57IhERkfycdnkRRlmzjvg+V4CeSXV5Zb7XqazFGI+jXNJJA/llt4PqzwWMf89vQ3OSZxYRc8hIfQ==","signatures":[{"sig":"MEQCIAh6oI02ZJoaAAI9B9o2dlyZYdod57qD9MynCI053vxkAiA0Kog+8G/UWwy6eZQA4KxeXyPS+AuXfyx1LFZ7EF3V5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10936},"main":"./lib/node.js","browser":"./lib/browser.js","engines":{"node":">= 0.4"},"gitHead":"487b6a7939c697bb2eaa7e0c0c081463fc99a4c4","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","tests-only":"tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js"},"repository":{"url":"git+https://github.com/ljharb/get-json.git","type":"git"},"_npmVersion":"10.7.0","description":"Cross-platform library for getting JSON docs","directories":{},"_nodeVersion":"22.2.0","dependencies":{"phin":"^2.9.3","jsonp":"^0.2.1"},"publishConfig":{"ignore":[".github/workflows","test",".eslintrc"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.4","tape":"^5.7.5","eslint":"=8.8.0","es5-shim":"^4.6.7","es6-shim":"^0.35.8","npmignore":"^0.3.1","auto-changelog":"^2.4.0","@ljharb/eslint-config":"^21.1.1"},"_npmOperationalInternal":{"tmp":"tmp/get-json_1.0.2_1718396763827_0.4478879128056146","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"get-json","version":"1.1.0","description":"Cross-platform library for getting JSON docs","main":"./lib/node.js","browser":"./lib/browser.js","scripts":{"prepack":"npmignore --auto","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/get-json.git"},"keywords":["JSON","fetch","getJSON"],"author":{"name":"azer"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/ljharb/get-json/issues"},"homepage":"https://github.com/ljharb/get-json#readme","dependencies":{"jsonp":"^0.2.1","safe-buffer":"^5.2.1","safe-regex-test":"^1.0.3"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","es5-shim":"^4.6.7","es6-shim":"^0.35.8","eslint":"=8.8.0","npmignore":"^0.3.1","object-inspect":"^1.13.1","tape":"^5.8.1"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","test",".eslintrc"]},"engines":{"node":">= 0.4"},"_id":"get-json@1.1.0","gitHead":"450d986916532bb965783294a4162c1ff9fa985a","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-IjoEwpXyyEsRtwBSZ0SYA6By6oVBnakpftFHAAkSSlLYRZ1NPGFS/r+6fSgbk7t6njfEuYVMbD1pe4ex6vgLcw==","shasum":"145197b8369ffe5e7b52107c333a521d826992a8","tarball":"https://registry.npmjs.org/get-json/-/get-json-1.1.0.tgz","fileCount":9,"unpackedSize":12902,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC50XsQWCoRL7JDABarJFANoTYHx/1JjdwRlRUCJwQgFwIhAPu1m0vHGRQgChJCPviXvWVPq8BQ40xAn2T4Di2vZti6"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"zeke","email":"zeke@sikelianos.com"},{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-json_1.1.0_1718601627586_0.4383864150241139"},"_hasShrinkwrap":false}},"time":{"created":"2013-04-03T04:30:14.075Z","modified":"2024-06-17T05:20:27.913Z","0.0.0":"2013-04-03T04:30:21.132Z","0.0.1":"2013-08-14T00:13:35.732Z","0.0.2":"2014-06-18T01:48:18.577Z","2.0.0":"2016-03-22T23:48:11.986Z","0.0.1-security":"2016-03-23T22:06:59.686Z","0.0.3":"2016-04-19T02:33:10.303Z","1.0.0":"2017-08-17T20:55:18.940Z","1.0.1":"2018-10-07T16:16:20.251Z","1.0.2":"2024-06-14T20:26:03.965Z","1.1.0":"2024-06-17T05:20:27.740Z"},"maintainers":[{"name":"zeke","email":"zeke@sikelianos.com"},{"name":"ljharb","email":"ljharb@gmail.com"}],"author":{"name":"azer"},"repository":{"type":"git","url":"git+https://github.com/ljharb/get-json.git"},"keywords":["JSON","fetch","getJSON"],"license":"BSD-3-Clause","homepage":"https://github.com/ljharb/get-json#readme","bugs":{"url":"https://github.com/ljharb/get-json/issues"},"readme":"## get-json\n\nCross-platform library for getting JSON documents. Wraps [request](http://npmjs.org/request) on Node, fallsback to [JSONP](http://github.com/webmodules/jsonp) on browsers.\n\n```bash\n$ npm install get-json\n```\n\n## Usage\n\n```js\nvar getJSON = require('get-json')\n\ngetJSON('http://api.listenparadise.org', function(error, response){\n\n    console.log(error);\n    // undefined\n\n    console.log(response);\n    // [\"Beth Orton &mdash; Stolen Car\",\n    // \"Jack White &mdash; Temporary Ground\",\n    // \"I Am Kloot &mdash; Loch\",\n    // \"Portishead &mdash; Glory Box\"]\n});\n```\n\nAlternatively, you can use a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises):\n\n```js\nvar getJSON = require('get-json')\n\ngetJSON('http://api.listenparadise.org')\n    .then(function(response) {\n      console.log(response);\n    }).catch(function(error) {\n      console.log(error);\n    });\n```\n","readmeFilename":"README.md","users":{"javanxu":true,"maxlevs":true,"shreyawhiz":true,"kapillamba4":true,"zakandrewking":true}}