Skip to main content

Built and signed on GitHub Actions

Useful and Reusable functions

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

Prelude

Prelude is a utility package containing reusable functions and tools commonly used in mobile and web development projects. Designed to streamline development workflows, this package consolidates essential utilities into one easy-to-use module.

Features

  • Reusable Utilities: Functions optimized for frequent use in diverse projects.
  • Cross-Platform: Suitable for both mobile and web development.
  • TypeScript Support: Fully typed for enhanced developer experience.

Installation

To add Prelude to your project, run:

npx jsr add @disgruntleddevs/prelude

Bun

bunx jsr add @disgruntleddevs/prelude

Or if you're using Deno

deno add jsr:@disgruntleddevs/prelude

Usage

Here's a quick example:

import {Hash} from "@disgruntleddevs/prelude"

const uid=Hash.randomuuid();

console.log(uid);

Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

Feel free to tweak it further to align with your vision for the project!

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@disgruntleddevs/prelude

Import symbol

import * as prelude from "@disgruntleddevs/prelude";

---- OR ----

Import directly with a jsr specifier

import * as prelude from "jsr:@disgruntleddevs/prelude";

Add Package

npx jsr add @disgruntleddevs/prelude

Import symbol

import * as prelude from "@disgruntleddevs/prelude";

Add Package

yarn dlx jsr add @disgruntleddevs/prelude

Import symbol

import * as prelude from "@disgruntleddevs/prelude";

Add Package

pnpm dlx jsr add @disgruntleddevs/prelude

Import symbol

import * as prelude from "@disgruntleddevs/prelude";

Add Package

bunx jsr add @disgruntleddevs/prelude

Import symbol

import * as prelude from "@disgruntleddevs/prelude";