Skip to content
Sand Software Solutions

Open source Node.js packages and CLI tools

We share the tools we build along the way. 53 small Node.js packages that each do one job, and two command line programs.

Command line tools

APIs and servers

  • api-client

    A small fetch-based API client with retries, timeouts and typed errors.

    npm install @sandsoftwaresolutions/api-client

    GitHubnpm

  • cursor-pagination

    Opaque cursor encoding and in-memory cursor pagination for JavaScript APIs.

    npm install @sandsoftwaresolutions/cursor-pagination

    GitHubnpm

  • feature-flags

    Deterministic, dependency-free feature flags for JavaScript and TypeScript.

    npm install @sandsoftwaresolutions/feature-flags

    GitHubnpm

  • form-errors

    Turn the many shapes of API validation errors into one field-error object for forms, with a hook for translations.

    npm install @sandsoftwaresolutions/form-errors

    GitHubnpm

  • graceful

    Shut down a Node HTTP server politely: readiness, finishing requests, closing keep-alive connections, running hooks, with a time limit.

    npm install @sandsoftwaresolutions/graceful

    GitHubnpm

  • health

    Live and ready health endpoints with timeouts, caching and degraded state, for Docker and load balancers.

    npm install @sandsoftwaresolutions/health

    GitHubnpm

  • mini-router

    A tiny router for node:http: params, JSON bodies with limits, middleware, and errors that never leak.

    npm install @sandsoftwaresolutions/mini-router

    GitHubnpm

  • openapi-fixtures

    Generate realistic, reproducible API fixtures from OpenAPI and Swagger schemas.

    npm install @sandsoftwaresolutions/openapi-fixtures

    GitHubnpm

  • problem-details

    Small RFC 9457 Problem Details helpers for JSON APIs.

    npm install @sandsoftwaresolutions/problem-details

    GitHubnpm

  • rate-limit

    Rate limiting in memory: sliding window, memory cap, honest Retry-After, middleware for node:http and Express.

    npm install @sandsoftwaresolutions/rate-limit

    GitHubnpm

  • request-id

    A request id for every HTTP request: accept or create it, send it back in a header, and read it anywhere in the request.

    npm install @sandsoftwaresolutions/request-id

    GitHubnpm

  • webhooks

    Web Crypto helpers for signing and verifying JSON webhooks.

    npm install @sandsoftwaresolutions/webhooks

    GitHubnpm

  • mail-kit

    Send good-looking email from Node with no dependencies: SMTP and Resend, templates that work in Outlook and dark mode, retries without double-sending.

    npm install @sandsoftwaresolutions/mail-kit

    GitHubnpm

Files and storage

  • atomic-file

    Write files atomically so a crash or power cut never leaves half a file.

    npm install @sandsoftwaresolutions/atomic-file

    GitHubnpm

  • csv-safe

    Read and write CSV safely: quotes, Dutch Excel, and protection against formula injection in exports.

    npm install @sandsoftwaresolutions/csv-safe

    GitHubnpm

  • dir-hash

    A single fingerprint for a folder and an exact list of what changed: modified, added, removed, renamed.

    npm install @sandsoftwaresolutions/dir-hash

    GitHubnpm

  • env-edit

    Edit .env files from code and keep comments, order, quotes and line endings.

    npm install @sandsoftwaresolutions/env-edit

    GitHubnpm

  • json-delta

    JSON Patch (RFC 6902): the difference between two JSON documents, and applying it.

    npm install @sandsoftwaresolutions/json-delta

    GitHubnpm

  • json-store

    A small JSON file store: atomic writes, ordered updates, rollback and versioned migrations.

    npm install @sandsoftwaresolutions/json-store

    GitHubnpm

  • sqlite-kit

    Safe defaults, migrations, transactions and verified backups for node:sqlite. No dependencies.

    npm install @sandsoftwaresolutions/sqlite-kit

    GitHubnpm

  • temp-kit

    Temporary folders and files that clean up after themselves, also on failure and at exit.

    npm install @sandsoftwaresolutions/temp-kit

    GitHubnpm

  • walk-files

    Walk a folder in a stable order with .gitignore-style rules, never following symlinks.

    npm install @sandsoftwaresolutions/walk-files

    GitHubnpm

Dutch data, money and time

  • nl-validate

    Check Dutch BSN, IBAN, KvK, VAT number, postcode and phone numbers. One small function each.

    npm install @sandsoftwaresolutions/nl-validate

    GitHubnpm

  • nl-calendar

    Dutch holidays (incl. Easter-based days), working days and ISO weeks, without time zone trouble.

    npm install @sandsoftwaresolutions/nl-calendar

    GitHubnpm

  • money-cents

    Money as whole cents: read Dutch and English notation, format, split without losing a cent, VAT both ways.

    npm install @sandsoftwaresolutions/money-cents

    GitHubnpm

  • time-ranges

    Ranges of time: overlap, merge, subtract, free gaps, who is there at once, shifts over midnight and night minutes.

    npm install @sandsoftwaresolutions/time-ranges

    GitHubnpm

  • ics-lite

    Make and read calendar files (.ics) for rosters, bookings and deadlines.

    npm install @sandsoftwaresolutions/ics-lite

    GitHubnpm

  • cron-next

    Parse cron expressions and find the next run times, in local time or UTC.

    npm install @sandsoftwaresolutions/cron-next

    GitHubnpm

  • duration

    Read and show durations: 1h30m, 90 min, 2 uur, ISO 8601. Refuses what it cannot read.

    npm install @sandsoftwaresolutions/duration

    GitHubnpm

Text and translations

  • i18n-check

    Compare translation files: missing and extra keys, different placeholders, empty texts. Understands ICU plurals.

    npm install @sandsoftwaresolutions/i18n-check

    GitHubnpm

  • msg-format

    ICU MessageFormat at runtime: plurals, select, ordinals, numbers, dates and tags in any language.

    npm install @sandsoftwaresolutions/msg-format

    GitHubnpm

  • human-format

    Human readable bytes, numbers, relative time, plurals, lists and truncation in Dutch, English and more.

    npm install @sandsoftwaresolutions/human-format

    GitHubnpm

  • slug

    URL slugs from titles: accents, special letters, locale-aware ampersand, safe fallback and unique slugs.

    npm install @sandsoftwaresolutions/slug

    GitHubnpm

  • case-style

    camelCase, snake_case, kebab-case and more, with acronyms, digits and accents handled.

    npm install @sandsoftwaresolutions/case-style

    GitHubnpm

  • mini-template

    Fill in {{placeholders}} with HTML escaping, filters and errors for missing values.

    npm install @sandsoftwaresolutions/mini-template

    GitHubnpm

  • text-diff

    Line diff with Myers’ algorithm and unified diff output that git apply accepts.

    npm install @sandsoftwaresolutions/text-diff

    GitHubnpm

  • fuzzy-find

    Fuzzy search for menus and pickers: ranked results, accents ignored, matched letters to highlight.

    npm install @sandsoftwaresolutions/fuzzy-find

    GitHubnpm

Async work

  • concurrency

    Run async work with a maximum at once: limit, mapLimit, chunk and a mutex.

    npm install @sandsoftwaresolutions/concurrency

    GitHubnpm

  • job-queue

    Small in-memory promise job queue with concurrency and retries.

    npm install @sandsoftwaresolutions/job-queue

    GitHubnpm

  • memo

    A TTL cache with single-flight loading, stale-while-revalidate and a memory cap.

    npm install @sandsoftwaresolutions/memo

    GitHubnpm

  • retry

    Retry with growing waits, jitter, a time limit per attempt, cancellation and Retry-After support.

    npm install @sandsoftwaresolutions/retry

    GitHubnpm

  • timing

    Sleep, withTimeout with real cancellation, deadlines, debounce, throttle and once.

    npm install @sandsoftwaresolutions/timing

    GitHubnpm

  • wait-for

    Wait until a condition, port or URL is ready, with a time limit and a clear error.

    npm install @sandsoftwaresolutions/wait-for

    GitHubnpm

Tooling and building blocks

  • ansi-kit

    Colors, tables, progress bars and symbols for CLIs: respects NO_COLOR and aligns wide characters.

    npm install @sandsoftwaresolutions/ansi-kit

    GitHubnpm

  • changelog-kit

    Add entries, cut releases, get release notes and lint a Keep a Changelog file.

    npm install @sandsoftwaresolutions/changelog-kit

    GitHubnpm

  • env-guard

    Check environment variables at startup: typed, all problems at once, secrets never shown.

    npm install @sandsoftwaresolutions/env-guard

    GitHubnpm

  • git-info

    Commit, branch, tag and dirty state for build stamps, and a readable version from git tags.

    npm install @sandsoftwaresolutions/git-info

    GitHubnpm

  • log-kit

    Small structured JSON logger that hides passwords, tokens and cookies automatically.

    npm install @sandsoftwaresolutions/log-kit

    GitHubnpm

  • validation

    Composable, dependency-free validation helpers.

    npm install @sandsoftwaresolutions/validation

    GitHubnpm

  • object-kit

    Object and list helpers by path, merge, group, sort and flatten. Safe against prototype pollution.

    npm install @sandsoftwaresolutions/object-kit

    GitHubnpm

  • encodings

    Base32, base58, base64url and hex with strict decoding.

    npm install @sandsoftwaresolutions/encodings

    GitHubnpm

  • id

    Small, dependency-free ID helpers for JavaScript and TypeScript.

    npm install @sandsoftwaresolutions/id

    GitHubnpm

Curious what this could do for your business?

Send us an email with your question, or start with a ShiftOps pilot. You talk directly to the people who build the software and get an answer within 2 working days.