Skip to content

dominnya/cuta

Repository files navigation

cuta

Before After
Before After

Overview

Cuta is a tiny drop-in console enhancement.

Install

$ npm install cuta
$ yarn add cuta
$ pnpm add cuta

Cuta doesn't support browser API & Bun at the moment!

Usage

Cuta can be imported/used in different ways:

Via CLI

Use the import flag

$ node --import=cuta index.js # ESM
$ npm run start --import=cuta
$ node --require=cuta index.js # CJS
$ npm run start --require=cuta

Via code

In your executable main file prepend following line:

import "cuta";
// or
require("cuta");

There's no programmatic API configuration for Cuta.

Documentation

Prototype overwrite mirrors native NodeJS implementation of console. Feel free to open an issue for further questions.

License

This project is under MIT license. You can freely use it for your own purposes.

About

🖼️ Drop-in console enhancement!

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Contributors