{"name":"@putout/cli-process-file","version":"2.4.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"Run all 🐊Putout linters","homepage":"https://github.com/coderaiser/putout/tree/master/packages/cli-process-file#readme","main":"lib/process-file.js","type":"commonjs","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":{"@putout/eslint":"^4.0.0","@putout/formatter-eslint":"^2.0.2","deepmerge":"^4.3.1","once":"^1.4.0","samadhi":"^2.14.1","try-catch":"^3.0.0","try-to-catch":"^3.0.0"},"keywords":["putout","cli"],"devDependencies":{"@putout/eslint-flat":"^2.0.0","@putout/operate":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^25.0.1","madrun":"^10.0.0","mock-import":"^4.2.1","mock-require":"^3.0.3","montag":"^1.2.1","nodemon":"^3.0.1","putout":"*","supertape":"^10.0.0"},"peerDependencies":{"putout":">=38"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/cli-process-file@2.4.0","gitHead":"38f24f87948219c2cd9a06de13eb813871972443","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-57xSnyqB9EBnMYjRn6Gh+BaEzAURHn96bQJNC5Rf0WdgO3Woa9Ya0SmlwMEhPNKYmy/JCQbOTofaD3WGeO/I7w==","shasum":"fa14bde1aadc4f3a7db6606e42240f42e73623c7","tarball":"http://registry-npm.ywwl.com/@putout/cli-process-file/download/@putout/cli-process-file-2.4.0.tgz","fileCount":6,"unpackedSize":7783,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICI6AMHCaew0/WUBleBqj4t3mItWPDB5PFch3DoJMTZ/AiEA3gzLav/X6uiCmJAYEgbTaAi6Q328mvEHdgWRGlv7wW0="}],"size":3144,"noattachment":false,"key":"/@putout/cli-process-file/-/@putout/cli-process-file-2.4.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli-process-file_2.4.0_1741345951714_0.1501646650865207"},"_hasShrinkwrap":false,"readme":"# @putout/cli-process-file [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/cli-process-file.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/cli-process-file \"npm\"\n\nProcess file using 🐊**Putout**, **Samadhi** and **ESLint**.\n\n## Install\n\n```\nnpm i @putout/cli-process-file\n```\n\n## Example\n\n```js\nimport initProcessFile from '@putout/cli-process-file';\n\nconst processFile = initProcessFile({\n    fix: true,\n});\n\nconst {code, places} = await processFile({\n    source: `\n        const a = b.a\n    `,\n});\n\n// returns\n['const {a} = b;', [{\n    rule: 'no-undef (eslint)',\n    message: '\\'b\\' is not defined.',\n    position: {\n        line: 2,\n        column: 13,\n    },\n}]];\n```\n\n## License\n\nMIT\n","publish_time":1741345951938,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1741345951938,"dist-tags":{"latest":"7.1.0"}}