Auto prefixes debug module with package name


014.0.33 years ago4 years agoMinified + gzip package size for @nod/debug-with-package-name in KB



Auto prefixes debug module with package name

import debug from '@nod/debug-with-package-name'

debug()('description %O', {foo: 'bar'}) // your-package-name  description: { foo: bar }
const optionaExtraParam = 'optional-param'

debug(optionaExtraParam)('description %O', {foo: 'bar'}) // your-package-name/optionalParam  description: { foo: bar }


  • yarn start

    Starts auto build process

  • yarn test

    Run test

  • yarn build

    Run module

  • yarn test-once

    Run test without watch mode

Development and additional usage

Please see @nod/nod monorepo


Apache 2.0

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.