great-logs
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

great-logs

npm license github-issues

nodei.co

travis-status stars forks

forks

Features

  • Parse text with chords

Usage

const logger = require('pkg.name');
 
logger.print('this is what you should print: %s', 1);
logger.info('great info to %s', 'know');
logger.warn('warn me of this %s', 'stuff');
logger.error('We found this %s', 'error');
logger.debug('Only show found this %s', 'debug'); // --debug args needed
logger.data({x: true, other: false, zother: 'yes'})

screenshot

Install

npm install --save great-logs

Scripts

  • npm run build : rm -rf dist && tsc
  • npm run test : mocha ./dist/test/*.js

Dependencies

Package Version Dev
args-finder 0.0.3
chalk ^2.4.1
@types/node ^10.0.2
@types/chai ^4.1.3
@types/mocha ^5.2.0
chai ^4.1.2
mocha ^5.1.1

Contributing

Contributions welcome; Please submit all pull requests against the master branch. If your pull request contains TypeScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!

Author

Wendly Saintil wendlysaintil@gmail.com https://twitter.com/wendlysaintil

License

Package Sidebar

Install

npm i great-logs

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

26.7 kB

Total Files

14

Last publish

Collaborators

  • wendly