Licence
Apache-2.0
Version
4.0.3
Deps
3
Size
58 kB
Vulns
0
Weekly
0
@nod/debug-with-package-name
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 }
Scripts
Starts auto build process
Run test
Run module
Run test without watch mode
Development and additional usage
Please see @nod/nod monorepo
License
Apache 2.0