1.0.0-beta.22 • Published 1 year ago
@extremejs/utils v1.0.0-beta.22
@extremejs/utils
Modern TypeScript utilities inspired by lodash, aiming to be high performance while having minimal size impact.
Table of Content
Installation
NPM
npm i @extremejs/utilsPNPM
pnpm add @extremejs/utilsYarn
yarn add @extremejs/utilsUsage
import { sumByFn } from "@extremejs/utils";
// or
import { sumByFn } from "@extremejs/utils/sum-by-fn";
const sum = sumByFn([{ a: 1 }, { a: 2 }, { a: 3 }], ({ a }) => a);API usage documents are available here.
Notes
- Although this package is inspired by
lodash, the method names might not be exactly the same or have different usage API, so make sure to read the docs first before using it. - The methods do not type check at runtime
(e.g. The
Arraychunkmethod assumes thesizeparameter is always a valid positive integer) so make sure you pass the correct values based on thedocuments/typescripttypes.
Versioning
We use SemVer for versioning. For the versions available, see the releases on this repository.
Authors
- Ardalan Amini - Core Maintainer - @ardalanamini
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE file for details.
1.0.0-beta.22
1 year ago
1.0.0-beta.21
2 years ago
1.0.0-beta.20
3 years ago
1.0.0-beta.19
3 years ago
1.0.0-beta.18
3 years ago
1.0.0-beta.17
3 years ago
1.0.0-beta.16
3 years ago
1.0.0-beta.15
3 years ago
1.0.0-beta.14
3 years ago
1.0.0-beta.13
3 years ago
1.0.0-beta.12
3 years ago
1.0.0-beta.11
3 years ago
1.0.0-beta.10
3 years ago
1.0.0-beta.9
3 years ago
1.0.0-beta.8
3 years ago
1.0.0-beta.7
3 years ago
1.0.0-beta.6
3 years ago
1.0.0-beta.5
3 years ago
1.0.0-beta.4
3 years ago
1.0.0-beta.3
3 years ago
1.0.0-beta.2
3 years ago
1.0.0-beta.1
3 years ago