Skip to main content

A collection of useful routines to simplify cross runtime (Node, Deno and Bun) development.

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
3 months ago (0.0.2)

@gmana/utils

Work in progress A collection of useful routines to simplify cross runtime (Node, Deno and Bun) development.

Available for Node, Deno Bun and Browser at jsr.io/@gmana/utils, and works seamlessly with both JavaScript and TypeScript.

Installation

Full instructions available at at jsr.io, short version:

# Deno
deno add @gmana/utils

# Node
npx jsr add @gmana/utils

# Bun
bunx jsr add @gmana/utils

Methods

slugify

import { slugify } from "@gmana/utils";

console.log(slugify(" Git$Hub_ request^% spLit lET_Ter "));
// github-request-split-letter
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @gmana/utils

Import symbol

import * as mod from "@gmana/utils";

Add Package

npx jsr add @gmana/utils

Import symbol

import * as mod from "@gmana/utils";

Add Package

yarn dlx jsr add @gmana/utils

Import symbol

import * as mod from "@gmana/utils";

Add Package

pnpm dlx jsr add @gmana/utils

Import symbol

import * as mod from "@gmana/utils";

Add Package

bunx jsr add @gmana/utils

Import symbol

import * as mod from "@gmana/utils";