👀 0 Follow @setemiojo on Twitter Go to Oluwasetemi GitHub profile Connect on LinkedIn

@setemiojo/utils

Type-safe utility library for JavaScript and TypeScript projects. A collection of commonly used helper functions for everyday development tasks.

Package Features

  • Type-Safe: Full TypeScript support with comprehensive type definitions
  • Tree-Shakeable: ESM-first with optimized bundle size
  • Well-Tested: Comprehensive test coverage with Vitest
  • Zero Dependencies: Lightweight and self-contained
  • Modern: Built for ES2020+ environments

Installation

Terminal window
npm install @setemiojo/utils
# or
pnpm add @setemiojo/utils
# or
yarn add @setemiojo/utils

Use Cases

  • String manipulation and formatting
  • Array and object utilities
  • Date and time helpers
  • Validation functions
  • Common programming patterns

Technical Implementation

Built with modern JavaScript/TypeScript tooling for optimal developer experience.

Core Technologies

  • TypeScript: Full type safety and IntelliSense support
  • ESM: Modern module format with tree-shaking
  • Vitest: Fast unit testing framework
  • Unbuild: Zero-config TypeScript bundler
  • NPM: Published to npm registry for easy installation

Package Highlights

  • Dual package format (ESM)
  • Comprehensive TypeScript definitions
  • Documented API with JSDoc comments
  • Semantic versioning
  • Automated testing and CI/CD