0.0.4 • Published 6 years ago
great-logs v0.0.4
great-logs
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'})
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