Socket
Socket
Sign inDemoInstall

@putout/formatter-codeframe

Package Overview
Dependencies
389
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @putout/formatter-codeframe

🐊Putout formatter shows code frame with an error


Version published
Weekly downloads
16K
decreased by-13.98%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@putout/formatter-codeframe NPM version

🐊Putout formatter shows codeframe of file with an errors.

Install

npm i putout @putout/formatter-codeframe

Usage

putout --format codeframe lib

Possible 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` option

License

MIT

Keywords

FAQs

Last updated on 21 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc