π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
import { debug } from 'debug'
export class NcDebug {
private static logger: any
static initLogger() {
if (!NcDebug.logger) {
NcDebug.logger = debug('nc')
}
return NcDebug.logger
}
static log(...args: any[]) {
if (!debug.enabled('nc')) {
return
}
const logger = NcDebug.initLogger()
logger(...args)
}
}