Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tinyrainbow

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinyrainbow - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

dist/chunk-5WCZOS7T.js

4

dist/browser.d.ts

@@ -1,3 +0,3 @@

import { C as Colors } from './index-b9b7ae71.js';
export { F as Formatter, c as createColors, g as getDefaultColors, i as isSupported } from './index-b9b7ae71.js';
import { C as Colors } from './index-6483f34e.js';
export { F as Formatter, c as createColors, g as getDefaultColors, i as isSupported } from './index-6483f34e.js';

@@ -4,0 +4,0 @@ declare const _default: Colors;

@@ -5,3 +5,3 @@ import {

c as o
} from "./chunk-24I4KDCO.js";
} from "./chunk-5WCZOS7T.js";

@@ -8,0 +8,0 @@ // src/browser.ts

@@ -1,3 +0,3 @@

import { C as Colors } from './index-b9b7ae71.js';
export { F as Formatter, c as createColors, g as getDefaultColors, i as isSupported } from './index-b9b7ae71.js';
import { C as Colors } from './index-6483f34e.js';
export { F as Formatter, c as createColors, g as getDefaultColors, i as isSupported } from './index-6483f34e.js';

@@ -4,0 +4,0 @@ declare const _default: Colors;

@@ -5,3 +5,3 @@ import {

c as o
} from "./chunk-24I4KDCO.js";
} from "./chunk-5WCZOS7T.js";

@@ -8,0 +8,0 @@ // src/node.ts

{
"name": "tinyrainbow",
"version": "1.1.0",
"version": "1.1.1",
"description": "A small library to print colourful messages.",
"type": "module",

@@ -10,9 +11,7 @@ "main": "./dist/node.js",

"exports": {
".": {
"types": "./dist/node.d.ts",
"node": "./dist/node.js",
"browser": "./dist/browser.js",
"import": "./dist/browser.js",
"default": "./dist/browser.js"
}
"types": "./dist/node.d.ts",
"node": "./dist/node.js",
"browser": "./dist/browser.js",
"import": "./dist/browser.js",
"default": "./dist/browser.js"
},

@@ -19,0 +18,0 @@ "files": [

# tinyrainbow
> a fork of [picocolors](https://www.npmjs.com/package/picocolors), but browser friendly
Output your colorful messages in the terminal or browser console that support ANSI colors (Chrome engines).
A small (`~ 6 kB` unpacked) fork of [picocolors](https://www.npmjs.com/package/picocolors) with support for `exports` field.
Supports only ESM.
## Installing
```bash
// with npm
# with npm
$ npm install -D tinyrainbow
// with pnpm
$ pnpm install -D tinyrainbow
# with pnpm
$ pnpm add -D tinyrainbow
// with yarn
$ yarn install -D tinyrainbow
# with yarn
$ yarn add -D tinyrainbow
```

@@ -23,3 +27,3 @@

console.log(c.red(c.bold('Hello, World!')))
console.log(c.red(c.bold('Hello World!')))
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc