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
Foundry
Start a new project from a template, with a dry run first. Written in Go.
Assay
See whether files were changed: seal a folder and check later what is different.
APIs and servers
api-client
A small fetch-based API client with retries, timeouts and typed errors.
npm install @sandsoftwaresolutions/api-clientcursor-pagination
Opaque cursor encoding and in-memory cursor pagination for JavaScript APIs.
npm install @sandsoftwaresolutions/cursor-paginationfeature-flags
Deterministic, dependency-free feature flags for JavaScript and TypeScript.
npm install @sandsoftwaresolutions/feature-flagsform-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-errorsgraceful
Shut down a Node HTTP server politely: readiness, finishing requests, closing keep-alive connections, running hooks, with a time limit.
npm install @sandsoftwaresolutions/gracefulhealth
Live and ready health endpoints with timeouts, caching and degraded state, for Docker and load balancers.
npm install @sandsoftwaresolutions/healthmini-router
A tiny router for node:http: params, JSON bodies with limits, middleware, and errors that never leak.
npm install @sandsoftwaresolutions/mini-routeropenapi-fixtures
Generate realistic, reproducible API fixtures from OpenAPI and Swagger schemas.
npm install @sandsoftwaresolutions/openapi-fixturesproblem-details
Small RFC 9457 Problem Details helpers for JSON APIs.
npm install @sandsoftwaresolutions/problem-detailsrate-limit
Rate limiting in memory: sliding window, memory cap, honest Retry-After, middleware for node:http and Express.
npm install @sandsoftwaresolutions/rate-limitrequest-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-idsigned-links
Create and verify short-lived HMAC-signed URLs in Node.js.
npm install @sandsoftwaresolutions/signed-linkswebhooks
Web Crypto helpers for signing and verifying JSON webhooks.
npm install @sandsoftwaresolutions/webhooksmail-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
Files and storage
atomic-file
Write files atomically so a crash or power cut never leaves half a file.
npm install @sandsoftwaresolutions/atomic-filecsv-safe
Read and write CSV safely: quotes, Dutch Excel, and protection against formula injection in exports.
npm install @sandsoftwaresolutions/csv-safedir-hash
A single fingerprint for a folder and an exact list of what changed: modified, added, removed, renamed.
npm install @sandsoftwaresolutions/dir-hashenv-edit
Edit .env files from code and keep comments, order, quotes and line endings.
npm install @sandsoftwaresolutions/env-editjson-delta
JSON Patch (RFC 6902): the difference between two JSON documents, and applying it.
npm install @sandsoftwaresolutions/json-deltajson-store
A small JSON file store: atomic writes, ordered updates, rollback and versioned migrations.
npm install @sandsoftwaresolutions/json-storesqlite-kit
Safe defaults, migrations, transactions and verified backups for node:sqlite. No dependencies.
npm install @sandsoftwaresolutions/sqlite-kittemp-kit
Temporary folders and files that clean up after themselves, also on failure and at exit.
npm install @sandsoftwaresolutions/temp-kitwalk-files
Walk a folder in a stable order with .gitignore-style rules, never following symlinks.
npm install @sandsoftwaresolutions/walk-files
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-validatenl-calendar
Dutch holidays (incl. Easter-based days), working days and ISO weeks, without time zone trouble.
npm install @sandsoftwaresolutions/nl-calendarmoney-cents
Money as whole cents: read Dutch and English notation, format, split without losing a cent, VAT both ways.
npm install @sandsoftwaresolutions/money-centstime-ranges
Ranges of time: overlap, merge, subtract, free gaps, who is there at once, shifts over midnight and night minutes.
npm install @sandsoftwaresolutions/time-rangesics-lite
Make and read calendar files (.ics) for rosters, bookings and deadlines.
npm install @sandsoftwaresolutions/ics-litecron-next
Parse cron expressions and find the next run times, in local time or UTC.
npm install @sandsoftwaresolutions/cron-nextduration
Read and show durations: 1h30m, 90 min, 2 uur, ISO 8601. Refuses what it cannot read.
npm install @sandsoftwaresolutions/duration
Text and translations
i18n-check
Compare translation files: missing and extra keys, different placeholders, empty texts. Understands ICU plurals.
npm install @sandsoftwaresolutions/i18n-checkmsg-format
ICU MessageFormat at runtime: plurals, select, ordinals, numbers, dates and tags in any language.
npm install @sandsoftwaresolutions/msg-formathuman-format
Human readable bytes, numbers, relative time, plurals, lists and truncation in Dutch, English and more.
npm install @sandsoftwaresolutions/human-formatslug
URL slugs from titles: accents, special letters, locale-aware ampersand, safe fallback and unique slugs.
npm install @sandsoftwaresolutions/slugcase-style
camelCase, snake_case, kebab-case and more, with acronyms, digits and accents handled.
npm install @sandsoftwaresolutions/case-stylemini-template
Fill in {{placeholders}} with HTML escaping, filters and errors for missing values.
npm install @sandsoftwaresolutions/mini-templatetext-diff
Line diff with Myers’ algorithm and unified diff output that git apply accepts.
npm install @sandsoftwaresolutions/text-difffuzzy-find
Fuzzy search for menus and pickers: ranked results, accents ignored, matched letters to highlight.
npm install @sandsoftwaresolutions/fuzzy-find
Async work
concurrency
Run async work with a maximum at once: limit, mapLimit, chunk and a mutex.
npm install @sandsoftwaresolutions/concurrencyjob-queue
Small in-memory promise job queue with concurrency and retries.
npm install @sandsoftwaresolutions/job-queuememo
A TTL cache with single-flight loading, stale-while-revalidate and a memory cap.
npm install @sandsoftwaresolutions/memoretry
Retry with growing waits, jitter, a time limit per attempt, cancellation and Retry-After support.
npm install @sandsoftwaresolutions/retrytiming
Sleep, withTimeout with real cancellation, deadlines, debounce, throttle and once.
npm install @sandsoftwaresolutions/timingwait-for
Wait until a condition, port or URL is ready, with a time limit and a clear error.
npm install @sandsoftwaresolutions/wait-for
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-kitchangelog-kit
Add entries, cut releases, get release notes and lint a Keep a Changelog file.
npm install @sandsoftwaresolutions/changelog-kitenv-guard
Check environment variables at startup: typed, all problems at once, secrets never shown.
npm install @sandsoftwaresolutions/env-guardgit-info
Commit, branch, tag and dirty state for build stamps, and a readable version from git tags.
npm install @sandsoftwaresolutions/git-infolog-kit
Small structured JSON logger that hides passwords, tokens and cookies automatically.
npm install @sandsoftwaresolutions/log-kitvalidation
Composable, dependency-free validation helpers.
npm install @sandsoftwaresolutions/validationobject-kit
Object and list helpers by path, merge, group, sort and flatten. Safe against prototype pollution.
npm install @sandsoftwaresolutions/object-kitencodings
Base32, base58, base64url and hex with strict decoding.
npm install @sandsoftwaresolutions/encodingsid
Small, dependency-free ID helpers for JavaScript and TypeScript.
npm install @sandsoftwaresolutions/id
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.