1.1.0 โข Published 2 years ago
toodles v1.1.0
ย
โ๏ธ Installing
# With npm
npm i toodles
# With yarn
yarn add toodles
# With pnpm
pnpm add toodles๐ Documentation
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.
plain(message)returns:
voidPrint a plain message (same as console.log)
error(message)returns:
voidPrint an error message
success(message)returns:
voidPrint a success message
info(message)returns:
voidPrint an info message
warn(message)return:
voidPrint a progress message
progress(message)return:
voidPrint a progress message
ย
๐ License
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.