GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NeaByteLab/Utils-Core: Zero-dependency utilities for modern development across all runtimes.

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
src
src
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.config.ts
build.config.ts
 
 
deno.json
deno.json
 
 
package.json
package.json
 
 

Repository files navigation

Utils Core

Zero-dependency utilities for modern development across all runtimes.

Node Deno Bun CDN

Module type: Deno/ESM npm version JSR License

Features

  • Zero dependencies - No external packages required.
  • Async - Abortable sleep and promise timeout utilities with custom scheduler support.
  • Broadcast - Named-channel event bus with per-channel listener limits.
  • Clone - Deep and shallow cloning with structured clone fallback and custom handlers.
  • Immutable - Recursive freezing, hardening, and read-only Map/Set proxies.
  • Iterable - Lazy, chainable pipeline for iterables with map, filter, reduce, and more.
  • Sequential - Async function queue with configurable concurrency and backpressure control.
  • Signal - Typed event emitter with error-isolated listeners and max listener guards.
  • Store - Reactive state container with reducer updates and derived state support.

Installation

Note

Prerequisites: For Deno (install from deno.com). For npm use Node.js (e.g. nodejs.org).

Deno (JSR):

deno add jsr:@neabyte/utils-core

npm:

npm install @neabyte/utils-core

CDN (jsDelivr/unpkg/esm.sh):

<script type="module">
  import {
    createSignal
    // ...
  } from 'https://cdn.jsdelivr.net/npm/@neabyte/utils-core/dist/index.mjs'
</script>

Or via esm.sh:

<script type="module">
  import {
    createSignal
    // ...
  } from 'https://esm.sh/@neabyte/utils-core'
</script>

Or via importmap:

<script type="importmap">
  {
    "imports": {
      "@neabyte/utils-core": "https://cdn.jsdelivr.net/npm/@neabyte/utils-core/dist/index.mjs"
    }
  }
</script>
<script type="module">
  import { createSignal } from '@neabyte/utils-core'
</script>

Read docs/README.md for full documentation.

Build

npm build (bundles to dist/):

npm run build

Testing

Type check - format, lint, and type-check:

deno task check

Unit tests - format/lint tests and run all tests:

deno task test
  • Tests live under tests/ (async, broadcast, clone, immutable, iterable, sequential, signal, and store tests).
  • The test task uses --allow-read, --allow-write, and --allow-env.

Dev Notes

I struggled learning over the past several years without clear examples, so I wrote the simple stuff I kept rewriting across projects. Nothing fancy, just small utilities that do what they say. If they help you, cool. If you outgrow them, even better.

License

This project is licensed under the MIT license. See the LICENSE file for details.

About

Zero-dependency utilities for modern development across all runtimes.

Topics

broadcastbundenoesmevent-emitterjavascriptjsrlightweightmini-utilsmodularnodejsnpmreactivesignalstate-managementstoretoolkittypescriptutilitieszero-dependency

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.