imperial-stdout
v0.1.1
Published
Your essential wrapper for console.log
Readme
Imperial stdout
Your essential wrapper for console.log for the browser and node.js
Installing
Package manager
Using npm:
$ npm install imperial-stdoutUsing yarn:
$ yarn add imperial-stdoutUsing pnpm:
$ pnpm add imperial-stdoutExample
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.
