Package Exports
- @putout/formatter-codeframe
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@putout/formatter-codeframe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
putout-formatter-codeframe

putout formatter shows codeframe of file with an errors.
Install
npm i putout @putout/formatter-codeframe -gUsage
putout --format codeframe libPossible output:
/home/coderaiser/putout/packages/putout/lib/putout.js:3:0
1 | 'use strict';
2 |
> 3 | debugger;
| ^ Unexpected "debugger" statement
4 |
5 | const recast = require('recast');
6 | const toBabel = require('estree-to-babel');
✖ 1 errors in 1 files
fixable with the `--fix` optionLicense
MIT