Open-source utilities for TypeScript projects, development environments, and CI/CD pipelines.
helpers4 is a collection of open-source utilities split across focused repositories, all designed around the same philosophy: small, composable, well-tested tools that you can adopt one piece at a time.
typescript — TypeScript helpers
Zero-dependency, tree-shakable utility functions for any TypeScript or JavaScript project. Published as individual npm packages per category — install only what you need.
npm install @helpers4/string @helpers4/arrayimport { capitalize } from '@helpers4/string';
import { chunk } from '@helpers4/array';
capitalize('hello world'); // "Hello world"
chunk([1, 2, 3, 4, 5], 2); // [[1, 2], [3, 4], [5]]Available categories: array · date · function · number · object · observable · promise · string · type · url · version — or install everything with @helpers4/all.
devcontainer — DevContainer Features
Production-ready DevContainer Features published to GHCR. Drop them into any devcontainer.json for instant, reproducible development environments.
{
"features": {
"ghcr.io/helpers4/devcontainer/essential-dev:1": {},
"ghcr.io/helpers4/devcontainer/typescript-dev:1": {},
"ghcr.io/helpers4/devcontainer/vite-plus:1": {},
"ghcr.io/helpers4/devcontainer/git-absorb:1": {},
"ghcr.io/helpers4/devcontainer/dotfiles-sync:1": {},
"ghcr.io/helpers4/devcontainer/shell-history-per-project:1": {}
}
}Available features: essential-dev · github-dev · typescript-dev · vite-plus · angular-dev · package-auto-install · pnpm-store · git-absorb · dotfiles-sync · auto-header · shell-history-per-project
đź“– helpers4.dev/devcontainer
action — GitHub Actions
Reusable GitHub Actions for consistent CI/CD pipelines.
- uses: helpers4/action/conventional-commits@v1
with:
validate-pr-title: true
pr-comment: errorAvailable actions: conventional-commits — validates that all commit messages and PR titles follow the Conventional Commits specification.
đź“– helpers4.dev/action
Full documentation for all projects lives at helpers4.dev.
All helpers4 repositories are licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0-or-later).