@raviqqe/loscore

0.2.5 • Public • Published

Loscore

GitHub Action Codecov npm License

[!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.

References

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @raviqqe/loscore

Weekly Downloads

1,229

Version

0.2.5

License

MIT

Unpacked Size

68.6 kB

Total Files

234

Last publish

Collaborators

  • raviqqe