A simple logging system using colors and can log to files and TTYs.
Install package:
# npm
npm install @darki_/logger
# yarn
yarn install @darki_/logger
# pnpm
pnpm install @darki_/logger
Import:
// ESM
import { Logger } from '@darki_/logger'
// CommonJS
const { Logger } = require('@darki_/logger')
- Clone this repository
- Enable Corepack using
corepack enable
(usenpm i -g corepack
for Node.js < 16.10) - Install dependencies using
pnpm install
Made with 💛 by DarKi
Published under GPL-3.0 License.