{"name":"json-future","description":"Unbelievable and Modern JSON interface.","homepage":"https://nicedoc.io/kikobeats/json-future","version":"2.2.0","main":"lib","author":{"name":"Kiko Beats","email":"josefrancisco.verdu@gmail.com","url":"https://github.com/Kikobeats"},"contributors":[{"name":"ImgBotApp","email":"ImgBotHelp@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/kikobeats/json-future.git"},"bugs":{"url":"https://github.com/Kikobeats/json-future/issues"},"keywords":["ECMAScript 7","ES2016","ES7","JSON","async","future","interface","load","parse","save","stringify","write"],"dependencies":{"args-js":"~0.10.12","async":"~3.0.1","cb2promise":"~1.1.1","json-stringify-safe":"~5.0.1","load-json-file":"~6.0.0","nodeify":"~1.0.1","parse-json":"~4.0.0","sliced":"~1.0.1","write-json-file":"~4.1.0"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","ci-publish":"latest","conventional-github-releaser":"latest","coveralls":"latest","finepack":"latest","git-authors-cli":"latest","git-dirty":"latest","husky":"latest","lint-staged":"latest","mocha":"latest","npm-check-updates":"latest","nyc":"latest","should":"latest","standard":"latest","standard-version":"latest"},"engines":{"node":">= 4"},"scripts":{"clean":"rm -rf node_modules","coverage":"nyc report --reporter=text-lcov | coveralls","lint":"standard lib","postrelease":"npm run release:tags && npm run release:github && ci-publish","prerelease":"npm run update:check","pretest":"npm run lint","release":"git-authors-cli && git add package.json && standard-version -a","release:github":"conventional-github-releaser -p angular","release:tags":"git push --follow-tags origin HEAD:master","test":"nyc mocha","update":"ncu -a","update:check":"ncu -- --error-level 2"},"license":"MIT","commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"lint-staged":{"linters":{"package.json":["finepack","git add"]}},"standard":{"globals":["after","describe","it"]},"gitHead":"adf0f1ec6a0c461bbeb9e3e2923ffb8cd999f046","_id":"json-future@2.2.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7pbN/l6Uyb2Vf8aFQUnLUIKYmNf3yGeEaimGMl53Y8kMV990KZi1AES/ftjiOBf3vqea+firTIY4zvbAmp735w==","shasum":"71e994cbb9d0bb7fa62538a3f5594d165b348e19","tarball":"http://registry-npm.ywwl.com/json-future/download/json-future-2.2.0.tgz","fileCount":7,"unpackedSize":23135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc65+BCRA9TVsSAnZWagAAwAkP+gKDi5FiIpmaUYYETeEc\nlj6AI38KZKl1ryZ0hTzirEf+lq8UUAMNT/11Ychn0vQ2t4QiESHn4ULoaaZv\n8Tr3L4Bpq5s46xbbTIejD6h30cxnd5JdYl1tZ+ZV15yNX5lG6f10GoXm8DAw\nFYPYKTU1nq5gVe8CvsapmoXXd5mKVlSMZR8tr+M6aih3/Sa+zamQdIiqmZ58\nFDv9fc2VqA6d6UASmlYSV7fjJCu58rEtfgV1XPAaveDWCdb1Ad68OzYCftN2\nqneP0K9t1SNb3dEn2IZq/nN3DmGZIQ4gDYNP+SjH0rGcOGVeLE0r2kSb67uH\nkYX0t91RIzxMqfJLqBK6C9pyBEvgvrBgfjO5fY6o56NOPd9NxrJ3MI/suhuo\nK5cbzTo3nWC+j+6ddRhIPu+8omjxAqX0twgc+H3uIRxYLwouEM+ENzQF5Aig\nsv9acYX1XHqj7e20Kle6IsbPPj19f9NGQ+/7ewsm95Fo19OuWZZgFad5yQt8\nMHWofwQnbSET3+KHk2fRYix0946ug8QrdSH277+niz3lUJvca2cjyUGvoIQk\n8Y9yCWqO2qGfYbpdwHgUTum3LMGut45cpmOMmSzH+vqbI8y38YrPQ2o6zJHl\nGMAWic2Pxi+4EHUndHVRx4Um5Ph5E4WFmtbTWXr0/t6J7GiLplOe6xcjPDnd\nZulH\r\n=jap/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGfdKUXlzZjZvjvRmihUbcIkkXy7c/wMaGLoUP89mMS2AiBa7OjcmU+AUWCJso3QK8/Z1Dng8a/LGcFEBG2wHSh7Uw=="}],"size":6189,"noattachment":false,"key":"/json-future/-/json-future-2.2.0.tgz"},"maintainers":[{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"}],"_npmUser":{"name":"kikobeats","email":"josefrancisco.verdu@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-future_2.2.0_1558945664456_0.758377330845418"},"_hasShrinkwrap":false,"readme":"# JSON Future\n\n<h1 align=\"center\">\n  <img src=\"https://i.imgur.com/WSDllwa.png\" alt=\"json-future\">\n  <br>\n  <br>\n</h1>\n\n![Last version](https://img.shields.io/github/tag/Kikobeats/json-future.svg?style=flat-square)\n[![Build Status](http://img.shields.io/travis/Kikobeats/json-future/master.svg?style=flat-square)](https://travis-ci.org/Kikobeats/json-future)\n[![NPM Status](http://img.shields.io/npm/dm/json-future.svg?style=flat-square)](https://www.npmjs.org/package/json-future)\n\n> Modern JSON interface. [propositions for ECMAScript 7](https://github.com/mohsen1/async-json).\n\n## Why\n\n* High level methods for manipulate JSON files.\n* Backward compatibility with JSON Object in Node/Browser.\n* Async support (callback/promise) based on [ECMAScript proposal](https://github.com/mohsen1/async-json).\n\nJSON Future is based into a set of cool libraries to handle JSON, but some of this libraries uses promises or callback style. This library adds an extra layer to call these libraries uniformly.\n\n## Install\n\n```bash\nnpm install json-future --save\n```\n\n## Usage\n\n```js\nconst jsonFuture = require('json-future')\n```\n\nDon't be afraid to replace for the default `JSON` object. The library is specially designed for be compatible and don't break your code:\n\n```js\nJSON = require('json-future')\n```\n\nAlso you can do this action using the `register` helper:\n\n```js\nrequire('json-future/register')\n```\n\n## API\n\nIn `async` methods, if you don't provide a callback for node style, then the method return a `Promise`.\n\n### .stringify(input, [replacer], [space])\n### .stringifyAsync(input, [replacer], [space], [cb])\n\nCreates the `string` version of the input.\n\n### .parse(input, [reviver], [filename])\n### .parseAsync(input, [reviver], [filename], [cb])\n\nCreates the `object` version of the input.\n\n### .load(filepath)\n### .loadAsync(filepath, [cb])\n\nReturns the parsed JSON.\n\n### .save(filepath, data, [options])\n### .saveAsync(filepath, data, [options], [cb])\n\nStringify and write JSON to a file atomically.\n\n#### options\n\n##### indent\n\nType: `string`, `number`\nDefault: `\\t`\n\nIndentation as a string or number of spaces.\nPass in `null` for no formatting.\n\n##### sortKeys\n\nType: `boolean`, `function`\nDefault: `false`\n\nSort the keys recursively.\nOptionally pass in a [`compare`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) function.\n\n##### replacer\n\nType: `function`\n\nPassed into [`JSON.stringify`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter).\n\n##### mode\n\nType: `number`\nDefault `438` *(0666 in octal)*\n\n[Mode](https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation) used when writing the file.\n\n## License\n\nMIT © [Kiko Beats](http://kikobeats.com)\n","publish_time":1558945664656,"_cnpm_publish_time":1558945664656,"dist-tags":{"latest":"2.2.28"}}