Socket
Book a DemoInstallSign in
Socket

babel-plugin-putout

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-putout

babel plugin for putout

latest
Source
npmnpm
Version
6.0.0
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-putout

Use 🐊Putout as babel plugin.

Example

-const s = 'hi';

Installation

$ npm install babel-plugin-putout

Usage

.babelrc.json

{
    "plugins": [
        ["putout", {
            "rules": {
                "remove-unused-variables": false
            }
        }]
    ]
}

Via CLI

$ babel --plugins putout script.js

Via Node API

require('babel-core').transform('code', {
    plugins: ['putout'],
});

Keywords

putout

FAQs

Package last updated on 12 Jun 2023

Did you know?

Socket

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