Skip to content

Latest commit

Β 

History

History
57 lines (41 loc) Β· 2.32 KB

File metadata and controls

57 lines (41 loc) Β· 2.32 KB

server-toolkit

πŸ”§πŸ–₯️ Modern, composable tools for writing servers in Node, Deno and Bun

Version on NPM Version on JSR Semantically released Monthly downloads on NPM License

Small, focused server-side utilities you import one at a time.

Features

  • 🎯 High-quality module design, focused on modern server code
  • 🌐 Node-first, with Deno and Bun compatibility in mind
  • ⚑ Lightweight sub-package exports
  • πŸ“¦ Tree-shakeable ES modules
  • 🧩 Modular and composable
  • βœ… Zero dependencies

Installation

npm install @peerigon/server-toolkit --save

Also available on JSR.

Usage

Import only the utilities you need. Each one is exposed as its own subpath:

import { parsePort } from "@peerigon/server-toolkit/parse-port";

Utilities

Module Description Docs
parse-port Parse and validate a TCP port from a string or number β†’

License

MIT

Sponsors

Peerigon