Nuclear Package Magnet

    @appsweet-co/debug

    0.5.0 • Public • Published

    @appsweet-co/debug

    Makes your console logs much better.


    Version Documentation License

    -----------------------------------------------------

    ➤ 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

    👤 Appsweet.co

    -----------------------------------------------------

    🤝 Contributing

    Contributions, issues and feature requests are welcome!

    Feel free to check issues page.

    -----------------------------------------------------

    ➤ Show your support

    Give a ⭐️ if this project helped you!

    Keywords

    none

    Install

    npm i @appsweet-co/debug

    DownloadsWeekly Downloads

    20

    Version

    0.5.0

    License

    MIT

    Unpacked Size

    322 kB

    Total Files

    23

    Last publish

    Collaborators

    • dperuo