napi-rs/cli/src/debug.ts

3 lines
105 B
TypeScript

import debug from 'debug'
export const debugFactory = (namespace: string) => debug(`napi:${namespace}`)