Common utilities for TypeScript projects
npm install @nr1e/commons[![NPM Version][npm-image]][npm-url]
[![GitHub Actions][github-image]][github-url]
This project provides reusable components commonly needed in TypeScript projects.
| Module | Description |
| -------------------------- | --------------------------------------------------------------------------------------------- |
| @nr1e/commons/bitsnbytes | Base64 encoding/decoding utilities |
| @nr1e/commons/encryption | Cryptographic utilities including AES encryption and RSA encryption |
| @nr1e/commons/errors | Error handling utilities and custom error types |
| @nr1e/commons/http | HTTP status codes and HTTP method constants |
| @nr1e/commons/ids | ID generation utilities (UUID v4/v7, KSUID) |
| @nr1e/commons/lang | Language utilities for currency, datetime, equality, merge, sleep, string, and type functions |
| @nr1e/commons/oauth | OAuth 2.0 cryptographic functions (PKCE) |
| @nr1e/commons/os | Operating system utilities including environment variable helpers |
| @nr1e/commons/validator | Input validation utilities |
[github-url]: https://github.com/nr1etech/lib-js/actions
[github-image]: https://github.com/nr1etech/lib-js/workflows/ci/badge.svg
[npm-url]: https://npmjs.org/package/@nr1e/commons-js
[npm-image]: https://img.shields.io/npm/v/@nre1/commons-js.svg