{"_id":"jsonify","_rev":"3001137","name":"jsonify","description":"JSON without touching any globals","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2023-08-29T08:56:13.000Z","created":"2011-08-21T12:22:24.348Z","0.0.1":"2022-10-12T05:39:43.093Z","0.0.0":"2011-08-21T12:22:24.348Z"},"users":{"luk":true},"author":{"name":"Douglas Crockford","url":"https://crockford.com/"},"repository":{"type":"git","url":"git+https://github.com/ljharb/jsonify.git"},"versions":{"0.0.1":{"name":"jsonify","version":"0.0.1","description":"JSON without touching any globals","main":"index.js","directories":{"lib":".","test":"test"},"devDependencies":{"@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","eslint":"=8.8.0","garbage":"0.0.x","in-publish":"^2.0.1","npmignore":"^0.3.0","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","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/jsonify.git"},"keywords":["json","browser"],"author":{"name":"Douglas Crockford","url":"https://crockford.com/"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"Public Domain","auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"d26197e6c6357c9f3deec052a97056359f0497ac","bugs":{"url":"https://github.com/ljharb/jsonify/issues"},"homepage":"https://github.com/ljharb/jsonify#readme","_id":"jsonify@0.0.1","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"2aa3111dae3d34a0f151c63f3a45d995d9420978","size":7449,"noattachment":false,"key":"/jsonify/-/jsonify-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/jsonify/download/jsonify-0.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsonify_0.0.1_1665553182854_0.92343351834945"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-17T07:24:00.825Z","publish_time":1665553183093,"_cnpm_publish_time":1665553183093},"0.0.0":{"name":"jsonify","version":"0.0.0","description":"JSON without touching any globals","main":"index.js","directories":{"lib":".","test":"test"},"devDependencies":{"tap":"0.0.x","garbage":"0.0.x"},"scripts":{"test":"tap test"},"repository":{"type":"git","url":"git://github.com/substack/jsonify.git"},"keywords":["json","browser"],"author":{"name":"Douglas Crockford","url":"http://crockford.com/"},"license":"Public Domain","_id":"jsonify@0.0.0","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"2c74b6ee41d93ca51b7b5aaee8f503631d252a73","size":4376,"noattachment":false,"key":"/jsonify/-/jsonify-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jsonify/download/jsonify-0.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"publish_time":1313929344348,"_hasShrinkwrap":false,"_cnpm_publish_time":1313929344348}},"readme":"# jsonify <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nThis module provides Douglas Crockford's JSON implementation without modifying any globals.\n\n`stringify` and `parse` are merely exported without respect to whether or not a global `JSON` object exists.\n\n[![build status](https://secure.travis-ci.org/ljharb/jsonify.png)](https://travis-ci.org/ljharb/jsonify)\n\n# methods\n\n``` js\nvar json = require('jsonify');\n```\n\n## json.parse(source, reviver)\n\nReturn a new javascript object from a parse of the `source` string.\n\nIf a `reviver` function is specified, walk the structure passing each name/value pair to `reviver.call(parent, key, value)` to transform the `value` before parsing it.\n\n## json.stringify(value, replacer, space)\n\nReturn a string representation for `value`.\n\nIf `replacer` is specified, walk the structure passing each name/value pair to `replacer.call(parent, key, value)` to transform the `value` before stringifying it.\n\nIf `space` is a number, indent the result by that many spaces.\nIf `space` is a string, use `space` as the indentation.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install jsonify\n```\n\nTo use this module in the browser, check out\n[browserify](https://github.com/browserify/browserify).\n\n# license\n\npublic domain\n\n[package-url]: https://npmjs.org/package/jsonify\n[npm-version-svg]: https://versionbadg.es/ljharb/jsonify.svg\n[deps-svg]: https://david-dm.org/ljharb/jsonify.svg\n[deps-url]: https://david-dm.org/ljharb/jsonify\n[dev-deps-svg]: https://david-dm.org/ljharb/jsonify/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/jsonify#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/jsonify.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/jsonify.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/jsonify.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=jsonify\n[codecov-image]: https://codecov.io/gh/ljharb/jsonify/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/jsonify/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/jsonify\n[actions-url]: https://github.com/ljharb/jsonify/actions\n","_attachments":{},"homepage":"https://github.com/ljharb/jsonify#readme","bugs":{"url":"https://github.com/ljharb/jsonify/issues"},"license":"Public Domain"}