Generate a Ye aka. Kanye West quote using a cryptographically secure random number generator.
import { randomYeQuote } from "jsr:@difronzo/random-ye-quote@1";
console.log(randomYeQuote()); // "All you have to be is yourself"
JSR is TypeScript first. You can publish a TypeScript package to JSR and import it without compilation or .d.ts files. Deno has always been able to run native TypeScript.
First join the waiting list on https://jsr.io. It takes about 3 minutes to be accepted.
JSR is backwards compatible with Node. You add the registry to .npmrc
:
@jsr:registry=https://npm.jsr.io
And then use any Node package manager to install from JSR:
foo@bar:~$ npm install @jsr/difronzo__random-ye-quote