Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

elonehoo/unboxing

Repository files navigation

Unboxing

Fast, small and purely functional utility library for TypeScript.

Install

# npm
npm i @unboxing/unboxing
# yarn
yarn add @unboxing/unboxing
# pnpm
pnpm i @unboxing/unboxing

Features

  • Fast
  • Small
  • Fully Tested
  • Purely functional
  • Modern codebase

Structure of the library

Usage

import {pathOr,compose,toLower,map} from '@unboxing/unboxing'

const toLowerName = compose(
  toLower,
  pathOr(['name'], '')
)
const result = map(toLowerName)([{name: 'testA'}, {name: 'testb'}])

License

MIT License © 2022-Present Elone Hoo