Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

duplojs/server-utils

Open more actions menu

Repository files navigation

@duplojs/server-utils

NPM version

Typed, runtime-agnostic server helpers for file systems, CLI commands, and common system operations in the DuploJS ecosystem.

Documentation

Why

  • Consistent APIs across Node.js, Deno, and Bun
  • Explicit result types (Ok/Success/Left) for clear error handling
  • Small, focused utilities you can import individually
  • CLI command builder with typed options and subjects
  • environmentVariable: dotenv + dotenv-expand in one typed API, with schema validation

Install

npm install @duplojs/server-utils@0 @duplojs/utils@1

What’s inside

  • File system utilities: read/write/append, directories, links, copy/move/remove
  • CLI command utilities: exec, create, and option builders
  • Environment variable utilities

About

@duplojs/server-utils is typed as a runtime-independent server helper. It is part of the DuploJS ecosystem.

Topics

Resources

Contributing

Stars

Watchers

Forks

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.