{"name":"@putout/formatter-codeframe","version":"8.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout formatter shows code frame with an error","homepage":"https://github.com/coderaiser/putout/tree/master/packages/formatter-codeframe#readme","main":"lib/codeframe.js","release":false,"tag":false,"changelog":false,"type":"module","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/babel":"^3.0.0","@putout/formatter-json":"^2.0.0","chalk":"^5.3.0","table":"^6.0.1"},"keywords":["putout","putout-formatter","formatter","codeframe"],"devDependencies":{"@putout/plugin-nodejs":"*","@putout/plugin-remove-unused-variables":"*","@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","madrun":"^10.0.0"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/formatter-codeframe@8.0.0","gitHead":"ce1a9c71dff8625f5d06fb07bda1c925e33ad150","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-AT7qWeLYi7S6a9s79mHnJcNfq+K2c9KMYHboZeT55zSM3LXLshbY4CmUFdL8w2Zmz5z/17nHFNXhFdqO4EpunA==","shasum":"9a248add4aa133bfc2539a7507811777c01c9759","tarball":"http://registry-npm.ywwl.com/@putout/formatter-codeframe/download/@putout/formatter-codeframe-8.0.0.tgz","fileCount":4,"unpackedSize":4840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIACFN/jN8ywrend8sgYIBFOvnJcQecg6HZAZGUbjNNgvAiEAoKlW5+5fETMJmE9yNzOMBmMmEKHP7zwAPuQakU1qhHw="}],"size":2282,"noattachment":false,"key":"/@putout/formatter-codeframe/-/@putout/formatter-codeframe-8.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/formatter-codeframe_8.0.0_1736633010837_0.4074689053452112"},"_hasShrinkwrap":false,"readme":"# @putout/formatter-codeframe [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/formatter-codeframe.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/formatter-codeframe \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) formatter shows codeframe of file with an errors.\n\n## Install\n\n```\nnpm i putout @putout/formatter-codeframe\n```\n\n## Usage\n\n```\nputout --format codeframe lib\n```\n\nPossible output:\n\n```sh\n/home/coderaiser/putout/packages/putout/lib/putout.js:3:0\n  1 | 'use strict';\n  2 |\n> 3 | debugger;\n    | ^ Unexpected \"debugger\" statement\n  4 |\n  5 | const recast = require('recast');\n  6 | const toBabel = require('estree-to-babel');\n\n✖ 1 errors in 1 files\n  fixable with the `--fix` option\n```\n\n## License\n\nMIT\n","publish_time":1736633010993,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1736633010993,"dist-tags":{"latest":"10.0.2"}}