@appsweet-co/debug
Makes your console logs much better.
➤ Install
npm install @appsweet-co/debug
➤ Usage
Import utilities directly into your files:
import { Debug, DebugOpts } from '@appsweet-co/debug';
const config: DebugOpts = {
disabled: ['warn'],
prefix: 'FooBar',
showMeta: true
};
const debug = Debug(config);
debug.log('Hello World')
// [LOG] [FooBar] Hello World
debug.warn('Goodbye World');
// <No output>
➤ Documentation
We generate API documentation using TypeDoc. View the docs page here.
➤ Updating This README
We generate this README with the @appnest/readme tool.
Run npx @appnest/readme generate
or npm run readme
to update this file.
➤ Author
- Website: http://a6t.co
- Github: @appsweet-co
🤝 Contributing
➤ Contributions, issues and feature requests are welcome!
Feel free to check issues page.
➤ Show your support
Give a