Git Product home page Git Product logo

toodles's Introduction



「Toodles」

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.

 

⚙️ 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: void

    Print a plain message (same as console.log)

  • error(message)

    returns: void

    Print an error message

  • success(message)

    returns: void

    Print a success message

  • info(message)

    returns: void

    Print an info message

  • warn(message)

    return: void

    Print a progress message

  • progress(message)

    return: void

    Print 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.

toodles's People

Contributors

darkguy10 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

hx3452

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.