Socket
Socket
Sign inDemoInstall

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.0.0 to 1.1.0

dist/browser.d.ts

19

package.json
{
"name": "tinyrainbow",
"version": "1.0.0",
"version": "1.1.0",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/node.js",
"module": "./dist/browser.js",
"browser": "./dist/browser.js",
"types": "./dist/node.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
".": {
"types": "./dist/node.d.ts",
"node": "./dist/node.js",
"browser": "./dist/browser.js",
"import": "./dist/browser.js",
"default": "./dist/browser.js"
}
},

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

@@ -21,7 +21,5 @@ # tinyrainbow

```js
import { createColors } from 'tinyrainbow'
import { isatty } from 'node:tty'
const c = createColors(isatty(2))
import c from 'tinyrainbow'
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