logger
A simple logging system using colors and can log to files and TTYs.
Usage
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')
💻 Development
- Clone this repository
- Enable Corepack using
corepack enable
(usenpm i -g corepack
for Node.js < 16.10) - Install dependencies using
pnpm install
License
Made with
Published under GPL-3.0 License.