babel-plugin-transform-remove-console
Remove all console.* calls.
Last updated 2 years ago by boopathi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-transform-remove-console 
SYNC missed versions from official npm registry.

babel-plugin-transform-remove-console

This plugin removes all console.* calls.

Example

In

console.log("foo");
console.error("bar");

Out

Installation

npm install babel-plugin-transform-remove-console

Usage

Via .babelrc (Recommended)

.babelrc

// without options
{
  "plugins": ["transform-remove-console"]
}
// with options
{
  "plugins": [ ["transform-remove-console", { "exclude": [ "error", "warn"] }] ]
}

Via CLI

babel --plugins transform-remove-console script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["transform-remove-console"]
});

Options

  • exclude - An array of console methods to exclude from removal.

Current Tags

  • 6.10.0-alpha.9                                ...           canary (a year ago)
  • 6.9.4                                ...           latest (2 years ago)

89 Versions

  • 6.10.0-alpha.9                                ...           a year ago
  • 6.10.0-alpha.3cc09dcf                                ...           2 years ago
  • 6.10.0-alpha.beb87b9a                                ...           2 years ago
  • 6.10.0-alpha.5a128fd5                                ...           2 years ago
  • 6.10.0-alpha.2ed85317                                ...           2 years ago
  • 6.10.0-alpha.a24dd066                                ...           2 years ago
  • 6.10.0-alpha.2e0de171                                ...           2 years ago
  • 6.10.0-alpha.89fc69da                                ...           2 years ago
  • 6.10.0-alpha.41ef96a2                                ...           2 years ago
  • 6.10.0-alpha.2ec8ff72                                ...           2 years ago
  • 6.10.0-alpha.a28b6b00                                ...           2 years ago
  • 6.10.0-alpha.01eac1c3                                ...           2 years ago
  • 6.10.0-alpha.5dbc73f7                                ...           2 years ago
  • 6.10.0-alpha.830ce3f1                                ...           2 years ago
  • 6.10.0-alpha.9e447f6d                                ...           2 years ago
  • 6.10.0-alpha.3b1a8f05                                ...           2 years ago
  • 6.10.0-alpha.367cc048                                ...           2 years ago
  • 6.10.0-alpha.36b27d42                                ...           2 years ago
  • 6.10.0-alpha.7ba5821f                                ...           2 years ago
  • 6.10.0-alpha.7195fa98                                ...           2 years ago
  • 6.10.0-alpha.1cb46b73                                ...           2 years ago
  • 6.10.0-alpha.85c9b6d8                                ...           2 years ago
  • 6.10.0-alpha.6889f45d                                ...           2 years ago
  • 6.10.0-alpha.91ed3622                                ...           2 years ago
  • 6.9.4                                ...           2 years ago
  • 6.10.0-alpha.b5637c57                                ...           2 years ago
  • 6.9.3                                ...           2 years ago
  • 6.10.0-alpha.540d75e7                                ...           2 years ago
  • 6.10.0-alpha.bce578e2                                ...           2 years ago
  • 6.10.0-alpha.18dcfe13                                ...           2 years ago
  • 6.10.0-alpha.9939bca9                                ...           2 years ago
  • 6.10.0-alpha.5f601890                                ...           2 years ago
  • 6.10.0-alpha.34c3efe9                                ...           2 years ago
  • 6.10.0-alpha.9e986477                                ...           2 years ago
  • 6.10.0-alpha.e86a44f1                                ...           2 years ago
  • 6.9.2                                ...           2 years ago
  • 6.10.0-alpha.e9f96ffe                                ...           2 years ago
  • 6.10.0-alpha.8b905991                                ...           2 years ago
  • 6.10.0-alpha.b4285271                                ...           2 years ago
  • 6.10.0-alpha.7b176463                                ...           2 years ago
  • 6.10.0-alpha.55276695                                ...           2 years ago
  • 6.10.0-alpha.b5bafaeb                                ...           2 years ago
  • 6.10.0-alpha.72092d20                                ...           2 years ago
  • 6.9.1                                ...           2 years ago
  • 6.10.0-alpha.caaefb4c                                ...           2 years ago
  • 6.10.0-alpha.f95869d4                                ...           2 years ago
  • 6.10.0-alpha.12994a48                                ...           2 years ago
  • 6.10.0-alpha.4b14df35                                ...           2 years ago
  • 6.10.0-alpha.6546ad11                                ...           2 years ago
  • 6.10.0-alpha.15ca1f11                                ...           2 years ago
  • 6.9.0                                ...           2 years ago
  • 6.9.0-alpha.4143a25b                                ...           2 years ago
  • 6.9.0-alpha.71b0b884                                ...           2 years ago
  • 6.9.0-alpha.6ceffb8d                                ...           2 years ago
  • 6.9.0-alpha.636ae276                                ...           2 years ago
  • 6.9.0-alpha.ab81368f                                ...           2 years ago
  • 6.9.0-alpha.ac576234                                ...           2 years ago
  • 6.9.0-alpha.879f25ec                                ...           2 years ago
  • 6.9.0-alpha.5ee3078e                                ...           2 years ago
  • 6.9.0-alpha.8857f145                                ...           2 years ago
  • 6.9.0-alpha.169f8743                                ...           2 years ago
  • 6.9.0-alpha.6ae655c0                                ...           2 years ago
  • 6.9.0-alpha.d9c99d3f                                ...           2 years ago
  • 6.9.0-alpha.a351eeed                                ...           2 years ago
  • 6.9.0-alpha.cf9a0da2                                ...           2 years ago
  • 6.9.0-alpha.e6a189cd                                ...           2 years ago
  • 6.9.0-alpha.670b24ec                                ...           2 years ago
  • 6.9.0-alpha.7f4dc3d4                                ...           2 years ago
  • 6.9.0-alpha.033d9ab6                                ...           2 years ago
  • 6.9.0-alpha.37064b40                                ...           2 years ago
  • 6.9.0-alpha.9a74dfd1                                ...           2 years ago
  • 6.9.0-alpha.a7421897                                ...           2 years ago
  • 6.9.0-alpha.da60c6b8                                ...           2 years ago
  • 6.8.5                                ...           2 years ago
  • 6.8.4                                ...           3 years ago
  • 6.8.3                                ...           3 years ago
  • 6.8.2                                ...           3 years ago
  • 6.8.1                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
  • 6.8.0                                ...           4 years ago
  • 6.5.0-1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.3.13                                ...           4 years ago
  • 6.2.4                                ...           4 years ago
  • 6.1.18                                ...           4 years ago
  • 6.1.17                                ...           4 years ago
  • 6.1.4                                ...           4 years ago
  • 6.0.14                                ...           4 years ago
  • 6.0.2                                ...           4 years ago
Downloads
Today 125
This Week 545
This Month 18,760
Last Day 205
Last Week 2,100
Last Month 26,278
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (126)

Copyright 2014 - 2017 © taobao.org |