{"name":"extend2","author":{"name":"popomore","email":"sakura9515@gmail.com"},"version":"4.0.0","engines":{"node":">=18.7.0"},"publishConfig":{"tag":"latest"},"description":"Port of jQuery.extend for Node.js","scripts":{"lint":"eslint .","test":"npm run lint -- --fix && npm run test-local","test-local":"egg-bin test","ci":"npm run lint && egg-bin cov && npm run prepublishOnly","contributor":"git-contributor","prepublishOnly":"tshy && tshy-after"},"keywords":["extend","clone","merge"],"repository":{"type":"git","url":"git+https://github.com/eggjs/extend2.git"},"devDependencies":{"@eggjs/tsconfig":"1","@types/mocha":"10","@types/node":"20","c8":"^10.0.0","egg-bin":"6","eslint":"8","eslint-config-egg":"13","git-contributor":"2","tape":"^5.7.5","tshy":"^1.15.1","tshy-after":"^1.0.0","typescript":"^5.4.5"},"license":"MIT","type":"module","tshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"exports":{"./package.json":"./package.json",".":{"import":{"source":"./src/index.ts","types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"source":"./src/index.ts","types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","_id":"extend2@4.0.0","gitHead":"df2ac791be1d32c7fe8f3abdfda321e40b76dc67","bugs":{"url":"https://github.com/eggjs/extend2/issues"},"homepage":"https://github.com/eggjs/extend2#readme","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-d/h9M79qdaVeAzjJ5Rn2dCt0bENlD34tCRyWhynrngEh+LB+QLPpxB2tAqx/YkLr14dVF0J8xKGGPymvWiuXSg==","shasum":"fe1e24b6a90bfcf43bb8472a26063e83f131d23c","tarball":"http://registry-npm.ywwl.com/extend2/download/extend2-4.0.0.tgz","fileCount":10,"unpackedSize":20571,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/extend2@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpDO6cS0NA9FlKpl4zY/OJip0mmb9paNryOjBqSI5rmAIgQENK36qxFfngnyU3IMZ9bP40hE8+rR7Luj4Oq+9uGZg="}],"size":5636,"noattachment":false,"key":"/extend2/-/extend2-4.0.0.tgz"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extend2_4.0.0_1718417771507_0.32569614215264076"},"_hasShrinkwrap":false,"readme":"# extend2\n\nForked from [node-extend], the difference is overriding array as primitive when deep clone.\n\n[![NPM version][npm-image]][npm-url]\n[![Node.js CI](https://github.com/eggjs/extend2/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/extend2/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/extend2.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/extend2\n[codecov-image]: https://codecov.io/gh/eggjs/extend2/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/eggjs/extend2\n[snyk-image]: https://snyk.io/test/npm/extend2/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/extend2\n[download-image]: https://img.shields.io/npm/dm/extend2.svg?style=flat-square\n[download-url]: https://npmjs.org/package/extend2\n\n## Usage\n\n```ts\nimport { extend } from 'extend2';\n\n// for deep clone\nextend(true, {}, object1, objectN);\n```\n\n## License\n\n`extend2` is licensed under the [MIT License](LICENSE).\n\n## Acknowledgements\n\nAll credit to the jQuery authors for perfecting this amazing utility.\n\nPorted to Node.js by [Stefan Thomas][github-justmoon] with contributions by [Jonathan Buchanan][github-insin] and [Jordan Harband][github-ljharb].\n\n<!-- GITCONTRIBUTOR_START -->\n\n## Contributors\n\n|[<img src=\"https://avatars.githubusercontent.com/u/45469?v=4\" width=\"100px;\"/><br/><sub><b>ljharb</b></sub>](https://github.com/ljharb)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/53233?v=4\" width=\"100px;\"/><br/><sub><b>justmoon</b></sub>](https://github.com/justmoon)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/1557266?v=4\" width=\"100px;\"/><br/><sub><b>jonmorehouse</b></sub>](https://github.com/jonmorehouse)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/360661?v=4\" width=\"100px;\"/><br/><sub><b>popomore</b></sub>](https://github.com/popomore)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/2396468?v=4\" width=\"100px;\"/><br/><sub><b>greelgorke</b></sub>](https://github.com/greelgorke)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/273857?v=4\" width=\"100px;\"/><br/><sub><b>andyburke</b></sub>](https://github.com/andyburke)<br/>|\n| :---: | :---: | :---: | :---: | :---: | :---: |\n|[<img src=\"https://avatars.githubusercontent.com/u/788368?v=4\" width=\"100px;\"/><br/><sub><b>blaise-io</b></sub>](https://github.com/blaise-io)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/680696?v=4\" width=\"100px;\"/><br/><sub><b>danbell</b></sub>](https://github.com/danbell)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/2598089?v=4\" width=\"100px;\"/><br/><sub><b>jamielinux</b></sub>](https://github.com/jamielinux)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/226692?v=4\" width=\"100px;\"/><br/><sub><b>insin</b></sub>](https://github.com/insin)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/152407?v=4\" width=\"100px;\"/><br/><sub><b>madarche</b></sub>](https://github.com/madarche)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/1088720?v=4\" width=\"100px;\"/><br/><sub><b>Mithgol</b></sub>](https://github.com/Mithgol)<br/>|\n[<img src=\"https://avatars.githubusercontent.com/u/156269?v=4\" width=\"100px;\"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/5362563?v=4\" width=\"100px;\"/><br/><sub><b>2hu12</b></sub>](https://github.com/2hu12)<br/>\n\nThis project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sat Jun 15 2024 10:08:30 GMT+0800`.\n\n<!-- GITCONTRIBUTOR_END -->\n\n[github-justmoon]: https://github.com/justmoon\n[github-insin]: https://github.com/insin\n[github-ljharb]: https://github.com/ljharb\n[node-extend]: https://github.com/justmoon/node-extend\n","publish_time":1718417771685,"_cnpm_publish_time":1718417771685,"dist-tags":{"latest":"4.0.0"}}