@raviqqe/loscore
v0.2.7
Published
Yet another utility library
Downloads
6,992
Readme
Loscore
[!Warning] This library is still experimental and under active development.
Yet another utility library for the Web APIs in TypeScript.
Before using this library, also consider using Lodash v5 (not officially published yet as of 2023/11/11.)
Background
Lodash is great. However, it was originally written in JavaScript and its project started a while ago. Loscore is an experimental library to throw away all existing legacy of it and build utilities on top of modern (de facto) standards of the Web APIs and TypeScript.
Principles
- Avoid unsound features of TypeScript as much as possible.
- Avoid overloaded functions.
- Rather consider separate monomorphic functions.
- Do not sacrifice performance for correct typing.
- Depend only on the Web APIs.
- Do not replicate logic implemented in the Web APIs already.
- Provide tree-shakeable ES modules.
Documentation
Here.