{"name":"@putout/cli-process-file","version":"7.1.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":"module","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":"^6.0.0","deepmerge":"^4.3.1","once":"^1.4.0","samadhi":"^4.0.2","try-catch":"^4.0.0","try-to-catch":"^4.0.0"},"keywords":["putout","cli"],"devDependencies":{"@putout/operate":"*","eslint":"^10.0.0","eslint-plugin-putout":"^31.0.0","madrun":"^13.0.0","montag":"^2.0.0","nodemon":"^3.0.1","putout":"*","superc8":"^12.0.0","supertape":"^13.0.0"},"peerDependencies":{"putout":">=42"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"gitHead":"e568d54e394963a5786416e070b239550fa77fc9","_id":"@putout/cli-process-file@7.1.0","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"26.8.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-P9cCjPOC7zap5PGLqk1gFBVqEZfKy4FjKtaVeEucwqf00xbgHYGwAYBvoX1UX2ZntpvBymljGHqCqokrbQDPbw==","shasum":"8a3238ff452e67c846754e6640c2209060a61320","tarball":"http://registry-npm.ywwl.com/@putout/cli-process-file/download/@putout/cli-process-file-7.1.0.tgz","fileCount":7,"unpackedSize":7862,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDD2WTIiYGw9RImZozuVehG8BuaPQddWELwc0ItAgx88AIhALWTWqtfxKRiNN012Iww3xt5VwWLBjV00gCKLr/bFmee"}],"size":3167,"noattachment":false,"key":"/@putout/cli-process-file/-/@putout/cli-process-file-7.1.0.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/cli-process-file_7.1.0_1789328891031_0.9707586042311096"},"_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":1789328891157,"_cnpm_publish_time":1789328891157,"dist-tags":{"latest":"7.1.0"}}