Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fonsole

0.2.0 • Public • Published

Fonsole
npm travis

Fonsole

Tiny ~250B browser console formatter.

Usage

Fonsole exports a single object, which has a single method log. fonsole.log replaces your native browser's console.log statement with it's own formatted log statement, which takes in the style to be used as its second argument.

import fonsole from 'fonsole';
 
fonsole.log('Hi There!', 'color: green; font-size: 1.5rem');

License

MIT

install

npm i fonsole

Downloadsweekly downloads

3

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability