Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
rmaclean/rainbowA really simple function to just apply a cool rainbow effect to text provided in, for Deno 🦕
This package works with Node.js, Deno, Bun
JSR Score
100%
Published
a month ago (0.1.2)
Rainbow Text
A really simple function to just apply a cool rainbow effect to text provided in; built with Deno 🦕 but runs most places 🌈
Example
This is the same for Deno, Bun or Node.js:
import { rainbowText } from '@sadev/rainbow'; console.log(rainbowText("Hello World!"));
See dinosaur.ts to produce:
See rocket.ts to produce:
Installation
rainbow
is available on jsr:
Deno
deno add @sadev/rainbow
npm
npx jsr add @sadev/rainbow
Bun
bunx jsr add @sadev/rainbow
Yarn
yarn dlx jsr add @sadev/rainbow
pnpm
pnpm dlx jsr add @sadev/rainbow
License
Licensed under the Apache License, Version 2.0. See LICENSE for more.
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@sadev/rainbow
Import symbol
import * as mod from "@sadev/rainbow";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@sadev/rainbow";
Add Package
npx jsr add @sadev/rainbow
Import symbol
import * as mod from "@sadev/rainbow";
Add Package
yarn dlx jsr add @sadev/rainbow
Import symbol
import * as mod from "@sadev/rainbow";
Add Package
pnpm dlx jsr add @sadev/rainbow
Import symbol
import * as mod from "@sadev/rainbow";
Add Package
bunx jsr add @sadev/rainbow
Import symbol
import * as mod from "@sadev/rainbow";