1.0.2 • Published 9 days ago
ts-prime v1.0.2
The utility library designed for TypeScript.
Links
Online documentation - here
Test coverage report - here
Installation
npm i ts-prime
yarn add ts-prime
Then in .js or .ts
import * as P from "ts-prime"; // tree-shaking supported!
Why ts-prime?
There are no universal utility libraries that fits my development need. Most of the development libraries did had function that I needed in day to day development.
ts-prime Design Goals
- The usage must be programmer-friendly, and that's more important than following the XYZ paradigm strictly.
- Manual annotation should never be required, and proper typings should infer everything. The only exception is the first function in
createPipe
. - E6 polyfill is required. Core methods are reused, and data structure (like Map/Set) are not re-implemented.
- The implementation of each function should be as minimal as possible. Tree-shaking is supported by default. (Do you know that
lodash.keyBy
has 14KB after minification?) - All functions are immutable, and there are no side-effects.
- Fixed number of arguments.
- Designed with typescript limitations in mind
MIT
1.0.2
9 days ago
1.0.1
2 years ago
1.0.0
3 years ago
0.3.15
3 years ago
0.3.14
3 years ago
0.3.13
3 years ago
0.3.12
3 years ago
0.3.11
3 years ago
0.3.10
3 years ago
0.3.9
3 years ago
0.3.8
3 years ago
0.3.7
3 years ago
0.3.6
3 years ago
0.3.5
3 years ago
0.3.4
3 years ago
0.3.3
4 years ago
0.3.2
4 years ago
0.3.1
4 years ago
0.1.0
4 years ago
0.3.0
4 years ago
0.2.0
4 years ago
0.0.28
4 years ago
0.0.26
4 years ago
0.0.27
4 years ago
0.0.25
4 years ago
0.0.22
4 years ago
0.0.23
4 years ago
0.0.24
4 years ago
0.0.21
4 years ago
0.0.20
4 years ago