UNPKG

github-app-installation-token

Version:

npm/script and binary 📦 to get a token from a GitHub App

8 lines (7 loc) • 238 B
import debug, { Debugger } from 'debug'; import { name } from '../../package.json'; export function logger(nameSpace: string): Debugger { const log = debug(`${name}:${nameSpace}`); log.log = console.log.bind(console); return log; }