Toodles is a very minimalist logger for javascript/typescript projects. It is a looks-first uitility and the colors used are based on the Catpuccin Mocha color palette.
# With npm
npm i toodles
# With yarn
yarn add toodles
# With pnpm
pnpm add toodles
Toodles is an ESM-only package, meaning you cannot use require() statements for importing it. You will have to stick to the import/export format.
Start by importing the Toodles class.
import Toodles from "toodles";All the log functions are static class fields of this class.
-
returns:
voidPrint a plain message (same as console.log)
-
returns:
voidPrint an error message
-
returns:
voidPrint a success message
-
returns:
voidPrint an info message
-
return:
voidPrint a progress message
-
return:
voidPrint a progress message
Toodles is released under the MIT license, which grants the following permissions:
- Commercial use
- Distribution
- Modification
- Private use
For more convoluted language, see the LICENSE.
