You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						 | 
			4 years ago | |
|---|---|---|
| .. | ||
| LICENSE | 4 years ago | |
| README.md | 4 years ago | |
| package.json | 4 years ago | |
| picocolors.browser.js | 4 years ago | |
| picocolors.d.ts | 4 years ago | |
| picocolors.js | 4 years ago | |
| types.ts | 4 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	picocolors
npm install picocolors
A tinier and faster alternative to nanocolors. Andrey, are you even trying?
import pc from "picocolors";
console.log(pc.green(`How are ${pc.italic(`you`)} doing?`));
- Up to 2x faster and 2x smaller than alternatives
 - 3x faster and 10x smaller than 
chalk - TypeScript support
 NO_COLORfriendly- Node.js v6+ & browsers support
 - The same API, but faster, much faster
 - No 
String.prototypemodifications (anyone still doing it?) - No dependencies and the smallest 
node_modulesfootprint 
Docs
Read full docs on GitHub.