Neolithic Programming Machine

npm

Need private packages and team management tools?Check out npm Orgs. »

log74

1.0.6 • Public • Published

log74

Tiny logging utility for Node.js and web. Used to add styling and for intercepting all logged messages.

Node.js usage

Install: npm install --save log74

import { Error, Warn, ... } from 'log74';
 
Error("error message");

Web usage (webpack / tsc / etc)

Install like above.

import { Error, Warn, ... } from 'log74/dist/index.web';
 
Error("error message");

Web usage (global script import)

Include: <script src="https://unpkg.com/log74@1.0.5/dist/index.webpack.js"></script>

// functions are bound to window object
Error("error message");

Keywords

none

install

npm i log74

Downloadsweekly downloads

9

version

1.0.6

license

MIT

repository

Gitgitlab

last publish

collaborators

  • avatar
Report a vulnerability