imperial-stdout

0.1.1 • Public • Published

Imperial stdout

Your essential wrapper for console.log for the browser and node.js

Installing

Package manager

Using npm:

$ npm install imperial-stdout

Using yarn:

$ yarn add imperial-stdout

Using pnpm:

$ pnpm add imperial-stdout

Example

Once the package is installed, you can import the library using import or require approach:

import imperialStdout from 'imperial-stdout';
imperialStdout('something');

If you use require for importing:

const imperialStdout = require('imperial-stdout');
imperialStdout('something');

For cases where something went wrong when trying to import a module into a custom or legacy environment, you can try importing the module package directly:

const imperialStdout = require('imperial-stdout/dist/browser/imperial-stdout.cjs'); // browser commonJS bundle (ES2017)
// const imperialStdout = require('imperial-stdout/dist/node/imperial-stdout.cjs'); // node commonJS bundle (ES2017)

Credits

Thanks to @JEDacreWright for this fantastic play on word.

Is it a joke?

You bet.

Readme

Keywords

none

Package Sidebar

Install

npm i imperial-stdout

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

6.98 kB

Total Files

17

Last publish

Collaborators

  • aeyoll