npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mattythedev01/justcolors

v1.0.12

Published

The only colors package you'll ever need

Downloads

39

Maintainers

mattythedev01mattythedev01

Keywords

colorcolorsterminalconsoleclistringstylestylingshellansitextformattinglogloggeroutputprintcolorizehighlightchalkrainbowprettybeautifycommand-linenodejsjavascriptnpmdeveloper-toolscustomizationvisualsyntax-highlightinguser-interfaceterminal-outputcolor-schemetext-decorationfont-stylebackground-colorforeground-colorbolditalicunderlinestrikethroughrgbhexhslcolor-conversioncolor-manipulationgradientcolor-palettethemedark-modelight-modecontrastaccessibilitycolor-blindnessterminal-emulatorcross-platformwindowsmacoslinuxunixbashzshpowershellcmdcolor-pickercolor-wheelcolor-theorydesignuiuxbrandingmarketingdata-visualizationchartsgraphsinfographicscolor-psychologymoodemotionaestheticscolor-harmonycolor-matchingcolor-combinationcolor-spacergb-to-hslhsl-to-rgbcolor-interpolationcolor-blendingcolor-mixingcolor-extractioncolor-quantizationcolor-namingcolor-distancecolor-similaritycolor-differencecolor-sortingcolor-palette-generationcolor-scheme-generatorcolor-harmony-rulescolor-contrast-checkerwcag-compliancecolor-accessibility-toolscolor-vision-deficiency-simulationterminal-true-color256-color-supportansi-escape-codesterminal-formattingcolor-temperaturecolor-correctioncolor-gradingcolor-calibrationcolor-profileicc-profilecolor-managementcolor-gamutcolor-space-conversioncolor-harmony-analysiscolor-trendscolor-forecastingcolor-psychology-analysiscolor-emotion-mappingcolor-symbolismcolor-cultural-significancecolor-naming-conventionscolor-palette-optimizationcolor-scheme-evaluationcolor-librarycolor-utilitycolor-helpercolor-toolcolor-functioncolor-modulecolor-packagecolor-apicolor-servicecolor-generatorcolor-transformercolor-analyzercolor-validatorcolor-formattercolor-parsercolor-convertercolor-manipulatorcolor-enhancercolor-optimizercolor-inspectorcolor-explorercolor-visualizercolor-simulatorcolor-testercolor-debuggercolor-loggercolor-monitorcolor-trackercolor-managercolor-controllercolor-handlercolor-processorcolor-enginecolor-frameworkcolor-systemcolor-platformcolor-ecosystemcolor-environmentcolor-workflowcolor-pipelinecolor-automationcolor-integrationcolor-solutioncolor-toolkitcolor-suitecolor-workbenchcolor-studiocolor-labcolor-workshopcolor-factorycolor-forgecolor-foundrycolor-hubcolor-centercolor-nexus

Readme

@mattythedev01/justcolors Documentation

Overview

"@mattythedev01/justcolors", is a simple and lightweight color package to log stuff beautifully.

Features

  • Wide range of color options including regular, bright, and pastel colors
  • Background color support
  • Text styling options (bold, italic, underline, etc.)
  • Special effects like rainbow and gradient
  • Semantic color functions for success, error, warning, etc.
  • Easy-to-use API with simple function calls
  • Supports chaining of colors and styles
  • Compatible with Node.js environments
  • Lightweight and efficient
  • No external dependencies

Installation

npm install @mattythedev01/justcolors

Example Usage

// Example usage of justcolors

const justColors = require("@mattythedev01/justcolors");

// Example usage
console.log(justColors.red("This text is red!"));
console.log(justColors.bgGreen("This text has a green background!"));
console.log(justColors.success("Operation was successful!"));

Wondering how to see every color and effects if it doesn't pop up?

const justColors = require("@mattythedev01/justcolors");

// To show every regular color
justColors.showAllColors();
// To show additional colors
justColors.showAdditionalColors();
// To show effects
justColors.showEffects();
// To show emojiDecor
justColors.showEmojiDecor();
// To show gradients
justColors.showGradients();
// To show new effects
justColors.showNewEffects();
// To show pastel colors
justColors.showPastelColors();
// To show semantic colors
justColors.showSemanticColors();
// To show other colors
justColors.showOtherColors();
// to show styles
justColors.showStyles();

Write any one of these lines down in your file, and run the file. Once ran, it'll show you whatever in your terminal.