Skip to content

In order to meet the use of basic functions on the basis of focusing on the content of the business function.

License

Notifications You must be signed in to change notification settings

Azir-11/arcdash

Repository files navigation

Arcdash

Business Function Library - Modern, Simple, Typed, and Powerful

bundle size npm downloads npm version MIT license

Introduction

In order to meet the use of basic functions on the basis of focusing on the content of the business function, there is any need to lack of missing functions welcome to exchange!

Install

use npm:
npm install arcdash

use yarn:
yarn add arcdash

use pnpm:
pnpm add radash

Usage

import { joinValues, sum } from 'arcash'

joinValues([], '-') // => ''
joinValues(['a', null, 'b', undefined, 'c'], '-') // => a-b-c

const list = [{ value: 5 }, { value: 5 }, { value: 10 }, { value: 2 }]
const result = sum(list, x => x.value) // => 22

About

In order to meet the use of basic functions on the basis of focusing on the content of the business function.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published