@iamserver/no-log

1.0.4 • Public • Published

no-log iAmServer - no-log

Remove all the Window.console in production, which prevents logging of information to the browser's console.

Installation

npm install --save @iamserver/no-log

Importing

import noLog from "@iamserver/no-log"; // ES6
const noLog = require("@iamserver/no-log"); // ES5 with npm

Usage

import noLog from "@iamserver/no-log";

const status = true || "production"; // production

noLog(status);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    1
    • latest

Version History

Package Sidebar

Install

npm i @iamserver/no-log

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

2.16 kB

Total Files

3

Last publish

Collaborators

  • iamserver