{"name":"@putout/plugin-remove-quotes-from-import-assertions","version":"1.0.3","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove quotes from import assertions","homepage":"https://github.com/coderaiser/putout/tree/v36.18.0/packages/plugin-remove-quotes-from-import-assertions#readme","main":"lib/remove-quotes-from-import-assertions.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","quotes-from-import-assertions"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-remove-quotes-from-import-assertions@1.0.3","gitHead":"06fa9243858a31e21523413915cb274b43652622","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-ImIK6LS7jwsHBZmsMKozzrFnsHQsRNCqkMhj8bTkS0Pxh+3IxWVf81VROI5UX60MT18SSDAReyILw/CS1812Qg==","shasum":"50e8cb069ec04cedcef7f68016c0156680f8918d","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-quotes-from-import-assertions/download/@putout/plugin-remove-quotes-from-import-assertions-1.0.3.tgz","fileCount":4,"unpackedSize":4156,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLoMWDocCAhc0jNoaKy0TnBq9+0Dc3vPZDHErsS7fugAiEA69UOLzvjIPrL2cIeYoTCM+Aq1maM3zDlFI+gcoy/p+Q="}],"size":2008,"noattachment":false,"key":"/@putout/plugin-remove-quotes-from-import-assertions/-/@putout/plugin-remove-quotes-from-import-assertions-1.0.3.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-remove-quotes-from-import-assertions_1.0.3_1734865502556_0.34219965093369287"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-quotes-from-import-assertions [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-quotes-from-import-assertions.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-quotes-from-import-assertions\"npm\"\n\n> The new import assertions feature allows module import statements to include additional information alongside the module specifier. An initial use for the feature is to enable JSON documents to be imported as JSON modules:\n>\n> (c) [MDN](https://v8.dev/features/import-assertions)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove quotes from import assertions.\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/f9f34acddbefba0ded53225ca10fa44e/7b4dba44602b9b2d28fe3a98989474a4b0d8d73d). Merged to [`@putout/plugin-esm`](https://www.npmjs.com/package/@putout/plugin-esm#remove-quotes-from-import-assertions).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-quotes-from-import-assertions\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-quotes-from-import-assertions\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nimport json from './mod.json' with { type: 'json' };\n```\n\n## ✅ Example of correct code\n\n```js\nimport json from './mod.json' with { type: 'json' };\n```\n\n## License\n\nMIT\n","publish_time":1734865502742,"_cnpm_publish_time":1734865502742,"dist-tags":{"latest":"1.0.3"}}