{"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"keywords":["json","write","stringify","file","fs","graceful","package"],"dist-tags":{"latest":"7.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"description":"Write a package.json file","readme":"# write-pkg\n\n> Write a `package.json` file\n\nWrites atomically and creates directories for you as needed. Sorts dependencies when writing. Preserves the indentation if the file already exists.\n\n## Install\n\n```sh\nnpm install write-pkg\n```\n\n## Usage\n\n```js\nimport path from 'node:path';\nimport {writePackage} from 'write-pkg';\n\nawait writePackage({foo: true});\nconsole.log('done');\n\nawait writePackage(path.join('unicorn', 'package.json'), {foo: true});\nconsole.log('done');\n```\n\n## API\n\n### writePackage(path?, data, options?)\n\nReturns a `Promise` that resolves when the `package.json` file has been written.\n\n### writePackageSync(path?, data, options?)\n\n#### path\n\nType: `string`\\\nDefault: `process.cwd()`\n\nThe path to where the `package.json` file should be written or its directory.\n\n#### data\n\nType `object`\n\nJSON data to write to the `package.json` file.\n\n#### options\n\nType: `object`\n\nSee [Options](#options-4).\n\n### updatePackage(path?, data, options?)\n\nReturns a `Promise` that resolves when the `package.json` file has been updated.\n\n### updatePackageSync(path?, data, options?)\n\n```js\nimport {updatePackage} from 'write-pkg';\n\nawait updatePackage({foo: true});\n//=> { \"foo\": true }\n\nawait updatePackage({foo: false, bar: true});\n//=> { \"foo\": false, \"bar\": true }\n```\n\n#### path\n\nType: `string`\\\nDefault: `process.cwd()`\n\nThe path to where the `package.json` file should be written or its directory.\n\n#### data\n\nType `object`\n\nJSON data to write to the `package.json` file. If the file already exists, existing fields will be merged with the values in `data`.\n\n#### options\n\nType: `object`\n\nSee [Options](#options-4).\n\n### addPackageDependencies(path?, dependencies, options?)\n\nReturns a `Promise` that resolves when the `package.json` file has been written.\n\n### addPackageDependenciesSync(path?, dependencies, options?)\n\n```js\nimport {writePackage, addPackageDependencies} from 'write-pkg';\n\nawait writePackage({foo: true});\n//=> { \"foo\": true }\n\nawait addPackageDependencies({foo: '1.0.0'});\n//=> { \"foo\": true, \"dependencies\": { \"foo\": \"1.0.0\" } }\n\nawait addPackageDependencies({dependencies: {foo: '1.0.0'}, devDependencies: {bar: '1.0.0'}});\n//=> { \"foo\": true, \"dependencies\": { \"foo\": \"1.0.0\" }, \"devDependencies\": { \"bar\": \"1.0.0\" } }\n```\n\n#### path\n\nType: `string`\\\nDefault: `process.cwd()`\n\nThe path to where the `package.json` file should be written or its directory.\n\n#### dependencies\n\nType: `Record<string, string> | Partial<Record<'dependencies' | 'devDependencies' | 'optionalDependencies' | 'peerDependencies', Record<string, string>>>`\n\nDependencies to add to the `package.json` file.\n\n#### options\n\nType: `object`\n\nSee [Options](#options-4).\n\n### removePackageDependencies(path?, dependencies, options?)\n\nReturns a `Promise` that resolves when the `package.json` file has been written. Does not throw if the file does not exist.\n\n### removePackageDependenciesSync(path?, dependencies, options?)\n\n```js\nimport {writePackage, removePackageDependencies} from 'write-pkg';\n\nawait writePackage({foo: true, dependencies: {foo: '1.0.0'}, devDependencies: {bar: '1.0.0'}});\n//=> { \"foo\": true, \"dependencies\": { \"foo\": \"1.0.0\" }, \"devDependencies\": { \"bar\": \"1.0.0\" } }\n\nawait removePackageDependencies(['foo']);\n//=> { \"foo\": true, \"devDependencies\": { \"bar\": \"1.0.0\" } }\n\nawait removePackageDependencies({devDependencies: ['bar']});\n//=> { \"foo\": true }\n```\n\n#### path\n\nType: `string`\\\nDefault: `process.cwd()`\n\nThe path to where the `package.json` file should be written or its directory.\n\n#### dependencies\n\nType `string[] | Partial<Record<'dependencies' | 'devDependencies' | 'optionalDependencies' | 'peerDependencies', string[]>>`\n\nDependencies to remove from the `package.json` file.\n\n#### options\n\nType: `object`\n\nSee [Options](#options-4).\n\n### Options\n\n##### indent\n\nType: `string | number`\\\nDefault: Auto-detected or `'\\t'`\n\nThe indentation to use for new files.\n\nAccepts `'\\t'` for tab indentation or a number of spaces.\n\nIf the file already exists, the existing indentation will be used.\n\n##### normalize\n\nType: `boolean`\\\nDefault: `true`\n\nRemove empty `dependencies`, `devDependencies`, `optionalDependencies` and `peerDependencies` objects.\n\n## write-pkg for enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of write-pkg and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-write-pkg?utm_source=npm-write-pkg&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)\n\n## Related\n\n- [read-pkg](https://github.com/sindresorhus/read-pkg) - Read a `package.json` file\n- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically\n\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"users":{"kiinlam":true,"aidenzou":true,"zalithka":true,"flumpus-dev":true},"bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"license":"MIT","versions":{"1.0.0":{"name":"write-pkg","version":"1.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"write-json-file":"^1.1.0"},"devDependencies":{"ava":"*","read-pkg":"^1.0.0","tempfile":"^1.1.1","xo":"*"},"gitHead":"ded494832a13795141d3fcc2965c4d05346a96f9","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@1.0.0","_shasum":"aeb8aa9d4d788e1d893dfb0854968b543a919f57","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"aeb8aa9d4d788e1d893dfb0854968b543a919f57","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-1.0.0.tgz","integrity":"sha512-DVE1nNHO5JyWaSVz4avOXuohgt/Gn6n9qPBKD9rkjjspZpSSaw2X8O4+IdVCRHoVwhb7CwXusuccGdbggsJNDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBF9JgkW+PVf0PlTjOzio8QXnH6sbzT7MV5QfhDGqlokAiBQmhj4yAZBhdzgCCurzrLB37PYiyEECzoqZos8Typf8Q=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"write-pkg","version":"2.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"write-json-file":"^2.0.0"},"devDependencies":{"ava":"*","read-pkg":"^2.0.0","tempfile":"^1.1.1","xo":"*"},"xo":{"esnext":true},"gitHead":"c794db0b89e13ea5517e8680cfdb63285563b864","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@2.0.0","_shasum":"93b922ee9a429f9bd74cdc69e549733c9e468156","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"93b922ee9a429f9bd74cdc69e549733c9e468156","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-2.0.0.tgz","integrity":"sha512-PDAuR4bxljwvG9KIpATNS1i1o6K4eMPEFZcrWiu9PhNjamWxmjNhBqYP/lmQweAU4g6sBT0hwVAklvdUKynkBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHeULPB5SOmUnJmnzN6p+qn2DgxMYhiSv46+DJ3euJ2fAiEAmkEB21FIOqw1TBx3smXTylc0o2xddbdHXFKapzHScW0="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-pkg-2.0.0.tgz_1476174395847_0.6209705518558621"},"directories":{}},"2.1.0":{"name":"write-pkg","version":"2.1.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"sort-keys":"^1.1.2","write-json-file":"^2.0.0"},"devDependencies":{"ava":"*","read-pkg":"^2.0.0","tempfile":"^1.1.1","xo":"*"},"gitHead":"d1709c25dbd97ca1899c09e20bc10060f162ea63","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@2.1.0","_shasum":"353aa44c39c48c21440f5c08ce6abd46141c9c08","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"353aa44c39c48c21440f5c08ce6abd46141c9c08","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-2.1.0.tgz","integrity":"sha512-V0LqFSv9hab0hFMlKft3COsZoq1DDBum3q+cC5MYoy1U0chsku39bhuZ09iMGB2Icppey7vnPpt6UD8xK1O5uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh3A4hD8CRyjhP7cCads4B1Tps0Cj43bFqqJAqwqK4NgIgJ+Si/dZHAxtp8ti/HuYaiIdhIXv5hEoexzGg0/AtKVg="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/write-pkg-2.1.0.tgz_1488623375785_0.45609515625983477"},"directories":{}},"3.0.0":{"name":"write-pkg","version":"3.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"sort-keys":"^1.1.2","write-json-file":"^2.0.0"},"devDependencies":{"ava":"*","read-pkg":"^2.0.0","tempfile":"^2.0.0","xo":"*"},"gitHead":"3b10e98079ba54dd6856e426ab689d93d3543655","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@3.0.0","_shasum":"58b9ce0d00f3e6f5d77204419b574b9ffb65f074","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"58b9ce0d00f3e6f5d77204419b574b9ffb65f074","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-3.0.0.tgz","integrity":"sha512-9b3C9hR63sngta4W37Or2hxdclf+6BjffACXTJowlJU+25Uj0cTp7EcXmueW0tFzx5XtBpEkUn/7tKlAp8qmJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJ2c5EKolI/Ufy8z4WbRHszp9y+SrApCDWV3ZZuUVUXAiAiL8lID0ZKwpBjCyOe8qD+kmD1FWoag2NwbWFE/6vWLg=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-pkg-3.0.0.tgz_1492410311067_0.6549546655733138"},"directories":{}},"3.0.1":{"name":"write-pkg","version":"3.0.1","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"sort-keys":"^1.1.2","write-json-file":"^2.0.0"},"devDependencies":{"ava":"*","read-pkg":"^2.0.0","tempfile":"^2.0.0","xo":"*"},"gitHead":"76fc2da5f3313a469a216b442b09725151dd6851","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@3.0.1","_shasum":"f95245805be6f6a4eb1d6c31c43b57226815e6e3","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f95245805be6f6a4eb1d6c31c43b57226815e6e3","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-3.0.1.tgz","integrity":"sha512-foPo7IXzr5c4kDkKXCsCKSZu2FCOxv8sPuZa1zV0kb4WPdzV+6HozumJl6DsLmidZqkZDLGkLpVe0hzF/ruXzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYYBYNuET8HJ9/zA1GOfz7Emc5DgihPsYkcWsnE3dwJAiEAgvTDvm9vW1TH2IxVwh/ufCn8s3BZVaKA5oxq4H2RpTs="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/write-pkg-3.0.1.tgz_1492416735543_0.7104205472860485"},"directories":{}},"3.1.0":{"name":"write-pkg","version":"3.1.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"sort-keys":"^2.0.0","write-json-file":"^2.2.0"},"devDependencies":{"ava":"*","read-pkg":"^2.0.0","tempfile":"^2.0.0","xo":"*"},"gitHead":"d52facbea93e7154adb1aef7d3fa0c9de7971bb2","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@3.1.0","_shasum":"030a9994cc9993d25b4e75a9f1a1923607291ce9","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"030a9994cc9993d25b4e75a9f1a1923607291ce9","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-3.1.0.tgz","integrity":"sha512-os7Gf67tALkRJdsBQ9FHkD0kJwL1bA5My73qRTG7G96+PZfA5um8Sm79e91TBtxbnix7cQri438+jTxMgdpueg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfv1Vh9ALbIJcCMFDpcBdM70XKI2R++QY4uwLihs0g7AiBOYFD0562HhaRG+vcPQuktrWQcyUSa8Z0pFLFiIEx4fw=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg-3.1.0.tgz_1498564171284_0.9126556434202939"},"directories":{}},"3.2.0":{"name":"write-pkg","version":"3.2.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["json","write","stringify","file","fs","graceful","pkg","package"],"dependencies":{"sort-keys":"^2.0.0","write-json-file":"^2.2.0"},"devDependencies":{"ava":"*","read-pkg":"^2.0.0","tempfile":"^2.0.0","xo":"*"},"gitHead":"e379f4c8e90fafc7cf42f29b031095484fd00c2d","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@3.2.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==","shasum":"0e178fe97820d389a8928bc79535dbe68c2cff21","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-3.2.0.tgz","fileCount":4,"unpackedSize":4445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGMYwCRA9TVsSAnZWagAAZvwP/0hWn484Q+pG80NU6Mtw\nTCLwHXDu1l8wuqcsXU7xMysb/vnGC1DY23YExCYKDH5dAa7op9mlaW7vNv2d\nsL2mnjbwDD+WVoUahgXxRtXyVzTfu9QHgEuwjZDTvHheKbsn9wVBFyt1vV3L\nqrfSt/y8pnpRxykEiOMV+LvX8YzAB7LLiHUsDpcPQsawBZxItfchGicdDT1C\nBvZX7enSAfvQHF74M8mjUDcFYP33fORadrtLyWYZFmgxDyO5WWIOxNmzPrUQ\nRF6FyoYpqtwn69yu+CkyAX2CPyHZiyMz97QwP1Z0QnNVcG4b3FSTSlSKjaI4\njUneSV0kI8vukzuzmm/y68rwWMtNL4/dPsqefGVgN777HFuEW0UKOXq53LI5\nL9dXxvKFXHQ4LFmyqD9E4CgV9uamycjoMDJ7kE86LuPzK5IqnQfFduLfP+Xw\nn1513uFrMiHfGvvOunsWyItF+8H+5xEB76YOH+oF4eQivCUCwHVjSz8sXRvP\nBRJhuOnwYTskyjTILTv9vKFa5Qm9VoWy7/BbX/ngakkpHo+oGJNYuItMLRBJ\nKWiLVZBcGyDWBn9EoYIzJYB67tyvVgE7uvpOmzaFBz89iC0A/iqgZuJ8jxnp\n8LxcZhgmGBwALVp9pfWQ09+8T6zDivQqAnRGiLom+PEj5N6WiG5+GNxf9+YX\naOeR\r\n=65iV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqkN+ryrZhDMTLEHfW4GYyLzcASFqG+r1RB8m+fK2M8AIhAOlANUpNoe6v4wOzcHZ074tdCyp2Op5B/r5dlEIAo/me"}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_3.2.0_1528350256397_0.04229308865990489"},"_hasShrinkwrap":false},"4.0.0":{"name":"write-pkg","version":"4.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["json","write","stringify","file","fs","graceful","package"],"dependencies":{"sort-keys":"^2.0.0","type-fest":"^0.4.1","write-json-file":"^3.2.0"},"devDependencies":{"ava":"^1.4.1","read-pkg":"^5.1.1","tempfile":"^3.0.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"088d9af22ed2ac3562194aac22a609318a83dc4a","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@4.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==","shasum":"675cc04ef6c11faacbbc7771b24c0abbf2a20039","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-4.0.0.tgz","fileCount":5,"unpackedSize":6510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxtPWCRA9TVsSAnZWagAAYwQQAIbWdc/0uuMUnT0VkRYb\nAPqxOIfVJzwh9QyF286qAwPFAYAPPNyBQi538TiMojtGqyZYNv6ER96mdtzw\n0tdklEPSGYdZWKJ7RDFeXzWV1FFVya/+S+UdLnnN4dCmWZcgBe/GReMcG/yQ\n5fJgOnJlXg8ICzPn9jJyUrfLW1lZ9Mi9DSTL51VdN6xpRhJcUZvpaPk4S3n9\nEAdD+Tr3+7OIAobdDfASh05oPXps8qxVtvNtro7TDqEqYWIo48nhWs/khJiZ\n6fRRd/0ryk6mHThFYWG7mWQmTmAxoOXmQrZ/14b2kYYJQ+3EWvRtsOTcMrLd\nTvb1n6YTYUckic+egotslreOOJ8tmJxFP6ZshN5d49IC6LQvLepA8gZlzi9o\nywBYxYDu45xLw52bXRAxoJEAu7FCp6b2f7E6y3ouez8JnbdSlGRLZ4rb2wtO\n4MXu4wuMQ42kWu8E28uNDm9WR7LO3XLmrjzgXmQMNzwe6pAYnN50Oaj3TrF8\nw2y2xqMrwlDsD4CqrG0mhP4n2/V55vyphzHgfDRI+amNGj5nog/jdwhb3u2a\nb4DKFrcA4JxtMCyd3+9yFcqZspCX2ZF/vV6P+qTaUjyIJ/kjoV2BmvEVoApf\nzlKvBqsXKDizvzLHCrrNzVPuDTCleJjTssTPskxH25tk0kIW5bHWF+4t5rh1\nmToj\r\n=kLi/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXGAxOFaLn5LciRQaxCdjCLqRh0QKG78LXRBBwdyKIFwIgfBhxpyCvn1sHWDFiuLbogGwykEb91ro4NbiiLIr4PQ4="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_4.0.0_1556534229756_0.971808952976889"},"_hasShrinkwrap":false},"5.0.0":{"name":"write-pkg","version":"5.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["json","write","stringify","file","fs","graceful","package"],"dependencies":{"sort-keys":"^5.0.0","type-fest":"^2.0.0","write-json-file":"^5.0.0"},"devDependencies":{"ava":"^3.15.0","read-pkg":"^7.0.0","tempfile":"^4.0.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"cbef61b69df4b445759d5a153840cb81ce94745c","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-ihflUwZ8WvVcXD2uhk4JAAe5+x9FT+0n4Z5b/OMZXBG8/hXCvSQXTYDf9raox0aqJGWRBipIE4rWSi6aCaiebw==","shasum":"b9fab4e78ee0e71b980867f2baff8b8564a77d26","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-5.0.0.tgz","fileCount":5,"unpackedSize":6690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGFhRCRA9TVsSAnZWagAA+ZQP+wbC2mM8iFLOn65r2Ta2\nLsJE1pSI7mtcKBa7JqgjZumWgMi2H2sctf2DZECG07jN4V3K66iIhIZR8S1H\nEoGPNCVWZ11h1R3kuSLbZE+Yzy0ZKuJWoRQHKCZuDvtJVt6plW1YXVcWPOTT\nyuYuUWvTJz23nWlKqKrxYvTx+hrIPfzm+vsAm3HgAgdhZ2yeuqda7ixFsSLi\n7ah06DupGoRweZ9eCVQQ80hDaCULpXIKNAnml6B6Ku9+Ab8LlJ4BeTn6UsYn\nb0w9MiYBz8XJ+Bie9k+UP12T5XrbrnEwk9TyhFTEcd5l/wCLhev2FaJgHs9B\nRqKeEq4/f0qXo812O6SDdUq8pAho0QCGQo0BJhEpJSOW6JxaVS8iGxpoPlzb\n+jAuL2LM/Ga4RQxeH5ooufHwe/GOWhJ7KXceK+7BOfLY4f5TnOrbnx2UgfO8\nuHOkJfs+PglgaLN7n/6ywDZhb6Lh7piugqWtSVLb7ABnhbz0kXdd/pQ5/bkZ\n8Qc6h3TYxWPnS/kKFjMEUd+qt4yMKayHDWIkebDSuR1yGSlfVVtRLkorGZZg\nz9qlq8CHj5jcjsk9GRzxFTDBGjqApYAyx5Q+VXuvKo1NO1EHKUl6p6tjf1/K\nHd2Iz727rVlweHQZxI96FIm5hvgqSFlU7w3AkONkWntpsdwlnYkxyVf3oK87\neZyI\r\n=NOd9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENGlZXxK9UleTRRQ8KEnF+AeWQqv09dGggouO1imna+AiBCJOpCLcFkgtsVnl6RMtR28yVm+uMAe4yHfkmwGYxQUw=="}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_5.0.0_1628985425238_0.5781509486605558"},"_hasShrinkwrap":false},"5.1.0":{"name":"write-pkg","version":"5.1.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["json","write","stringify","file","fs","graceful","package"],"dependencies":{"sort-keys":"^5.0.0","type-fest":"^2.12.1","write-json-file":"^5.0.0"},"devDependencies":{"ava":"^4.1.0","read-pkg":"^7.1.0","tempfile":"^4.0.0","tsd":"^0.19.1","xo":"^0.48.0"},"types":"./index.d.ts","gitHead":"c17591ec40f08f7e0e3ff1691a05c8ebda8e23f9","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@5.1.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.2","dist":{"integrity":"sha512-2LnW2htVtTQuLV/5JGaz09jTAE/Gv/lhy36xwxx1x22y+AnG9/YnIoDmA1Q8pooDnLO4vYLBCqO9g/qOdMZMPA==","shasum":"421fca18c1b365aa4de7dac29e17539a7c53e06a","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-5.1.0.tgz","fileCount":5,"unpackedSize":7177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiN2oBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrteg//RIa92yLYz9HgB+nz1BIBdsDh9qWUsvJx/BB5viOblwrwfLWb\r\nmqyjEIL+LO1hOBxCh5xcbzLjJlrq0l8kxORMTtjShaJhOKzQvtnHWYqKcZSi\r\nz7MxiDE/K1I4d3A9aIG6lcQtLtO5etIFmYjFRc6CxjDmjI+lGO+EDGmYoJK3\r\nIIlGuLGdhDnBqooypzmQBopz7ZXIDheWvDepHidw7y6o1+MEOaAgo+mktBho\r\nAZT1DTC8rtWOdd+vcvYSXZFTVhr7gIAnelGvfnJ6UTMuZ2r2Pu3Rew5/Ur2p\r\n8EzD1wNRunSxXv+8p784xp6QZRqJfF2uTqoSH2S+9DrSQtd8oWDGoiJKXwJv\r\nJni55blEOtTX4bu+VNNilCDajH2pevBujgES3UT7ehmmg1NKv5pqeL2DoJLo\r\nWXKRpIJbiRvhjwbWKk7NmJ40MckiY+AlJlGWkTzW7vBGeHkwThVLYDFoeCPA\r\nKvKU51M+5IM7vny1qpStC3FyGKAGiTsgadqBYDIWhJEJYCwZ/QZOS0QlF7tg\r\nj7ZqIaUkw8woAMNCljgOxFR3SRzvRwY01BzNxs0gv2Dr9mSf6dlBYgI2YY4r\r\nbhxzQcbhnl8orJRp3IaCiVj5BcH1c872wlkZ/rZma9OiKhvXWuBskwRAGEJq\r\nTm5v4JWnu88H/VJ7XDLcafN6EGK+q92Yoqg=\r\n=lnWn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2uiqKR7OKv7G4ChD0tKiuq4BYhlprLkaLViYz/qolGQIgAIFhFldOFVkmrc9zo/d9RTDB4OndE8Do/w60q/YWkV0="}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_5.1.0_1647798785695_0.3793302058732606"},"_hasShrinkwrap":false},"6.0.0":{"name":"write-pkg","version":"6.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["json","write","stringify","file","fs","graceful","package"],"dependencies":{"deepmerge-ts":"^5.1.0","read-pkg":"^8.0.0","sort-keys":"^5.0.0","type-fest":"^3.13.0","write-json-file":"^5.0.0"},"devDependencies":{"ava":"^5.3.1","filter-anything":"^3.0.7","tempy":"^3.1.0","tsd":"^0.28.1","xo":"^0.54.2"},"types":"./index.d.ts","gitHead":"174252d7df4dc473bbc1755ce84d69c1545c659c","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@6.0.0","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-lGAH18qfqlukADIiFz1khQQO+AfPcNKf+oJIktIADWISarSSG9MPoWmveT+GhTGh9nQLpw0iPZyucgbqDngHeQ==","shasum":"2a3f89b8c5f8ad2bb1987aafef4d4354d39b0a40","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-6.0.0.tgz","fileCount":9,"unpackedSize":20097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGuezXLrm+i9L+qHwu1kKtsXiLsGOyIzUn6mTX1uN6agIhAMLz1a+YDtmFijwyfUlhuuQjij/dyc7+zgZdiH/swLTl"}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_6.0.0_1689378159405_0.2891605372641679"},"_hasShrinkwrap":false},"6.0.1":{"name":"write-pkg","version":"6.0.1","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["json","write","stringify","file","fs","graceful","package"],"dependencies":{"deepmerge-ts":"^5.1.0","read-pkg":"^8.1.0","sort-keys":"^5.0.0","type-fest":"^4.6.0","write-json-file":"^5.0.0"},"devDependencies":{"ava":"^5.3.1","esmock":"^2.5.8","filter-anything":"^3.0.7","tempy":"^3.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"ava":{"nodeArguments":["--loader=esmock","--no-warnings=ExperimentalWarning"]},"types":"./index.d.ts","gitHead":"9ce4db0ef78442d3a64d008996de2072a65ace2b","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@6.0.1","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-ZwKp0+CQCNrJbhHStRy6IVDnVjvD4gYy6MhQLKgBnl85oaiTNXhvtuox7AqvOSf1wta0YW4U5JidjpJnd1i8TA==","shasum":"5b5ec22edf199f372b68c54d3f80b112c8463a6e","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-6.0.1.tgz","fileCount":9,"unpackedSize":20229,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4osRBlb++hp/2sN5DT5HLgDST710A9PhbQ2R59x//dAIgDYHgf5j+WbGeWeXYLDzRhrq9MPY3mWNNpgBM1N7zE18="}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_6.0.1_1699092647458_0.5704901286173374"},"_hasShrinkwrap":false},"7.0.0":{"name":"write-pkg","version":"7.0.0","description":"Write a package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/write-pkg.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["json","write","stringify","file","fs","graceful","package"],"dependencies":{"deepmerge-ts":"^5.1.0","read-pkg":"^8.1.0","sort-keys":"^5.0.0","type-fest":"^4.6.0","write-json-file":"^5.0.0"},"devDependencies":{"ava":"^5.3.1","esmock":"^2.5.8","filter-anything":"^3.0.7","tempy":"^3.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"ava":{"nodeArguments":["--loader=esmock","--no-warnings=ExperimentalWarning"]},"types":"./index.d.ts","gitHead":"9ce4db0ef78442d3a64d008996de2072a65ace2b","bugs":{"url":"https://github.com/sindresorhus/write-pkg/issues"},"homepage":"https://github.com/sindresorhus/write-pkg#readme","_id":"write-pkg@7.0.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-wXBOrcEUstxZxfqy2hQO0O+c7wcwuVkZCCmBfaFtFssa5kcFqf7SQGYL6YtxKXt/O41z6reAPFJcumUyyiYnTQ==","shasum":"9009082bf3c3a39e3026bc7f400f77278641c5f6","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/write-pkg/-/write-pkg-7.0.0.tgz","fileCount":9,"unpackedSize":20229,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOb5JztmlovNK/89Oec2Hp0ac75yL8WKDWkshulJCpUgIhAMHrOms2oC2wqYHx2oVJ9R1KxDhAIuIBd6DPy/l3ddpL"}]},"_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-pkg_7.0.0_1699093179480_0.6954829626420276"},"_hasShrinkwrap":false,"deprecated":"Renamed to write-package"}},"name":"write-pkg","time":{"modified":"2023-11-04T10:20:09.220Z","created":"2015-09-02T08:59:08.960Z","1.0.0":"2015-09-02T08:59:08.960Z","2.0.0":"2016-10-11T08:26:36.061Z","2.1.0":"2017-03-04T10:29:37.700Z","3.0.0":"2017-04-17T06:25:11.376Z","3.0.1":"2017-04-17T08:12:17.403Z","3.1.0":"2017-06-27T11:49:32.403Z","3.2.0":"2018-06-07T05:44:16.456Z","4.0.0":"2019-04-29T10:37:09.855Z","5.0.0":"2021-08-14T23:57:05.385Z","5.1.0":"2022-03-20T17:53:05.869Z","6.0.0":"2023-07-14T23:42:39.578Z","6.0.1":"2023-11-04T10:10:47.725Z","7.0.0":"2023-11-04T10:19:39.687Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/write-pkg#readme"}