Skip to main content

About ichigyou

ichigyou (一行 いちぎょう) is a collection of one-liner functions in TypeScript. 54 functions across 5 categories:
  • String
  • Array
  • Number
  • Object
  • Other

Installation

Install ichigyou using your preferred package manager:
npm i ichigyou

Quick Example

Here’s a simple example of using ichigyou functions:
import { reverseString, sum, hasProperty } from 'ichigyou';

// String operations
const reversed = reverseString('hello');
console.log(reversed); // 'olleh'

// Array/Number operations
const total = sum([1, 2, 3, 4, 5]);
console.log(total); // 15

// Object operations
const obj = { name: 'John', age: 30 };
console.log(hasProperty(obj, 'name')); // true

Explore Functions

Browse through our comprehensive function library:

Documentation

For full API documentation with detailed examples, visit:
All functions are written as one-liners in TypeScript, making them lightweight and easy to understand.