# @beenotung/tslib

> utils library in Typescript

Latest version **24.26.0** (published 2026-04-26) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install @beenotung/tslib
pnpm add @beenotung/tslib
yarn add @beenotung/tslib
bun add @beenotung/tslib
```

## Health

**Score 50/100 (C)** — status: active.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 24.26.0 |
| Published | 2026-04-26 |
| First published | 2017-07-15 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 501.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Beeno Tung |
| Maintainers | beenotung |
| Keywords | Typescript, Library, Utility |

## Links

- npm: https://www.npmjs.com/package/@beenotung/tslib
- Repository: https://github.com/beenotung/tslib
- Homepage: https://github.com/beenotung/tslib#readme
- Issues: https://github.com/beenotung/tslib/issues
- npm.io page: https://npm.io/package/@beenotung/tslib

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [timezone-date.ts](https://npm.io/package/timezone-date.ts.md) ^2.1.0
- [node-localstorage](https://npm.io/package/node-localstorage.md) ^3.0.5

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 24.26.0 (latest) — 2026-04-26
- 24.25.0 — 2026-04-09
- 24.24.0 — 2026-04-07
- 24.23.1 — 2026-04-03
- 24.23.0 — 2026-03-13
- 24.22.0 — 2026-02-01
- 24.21.1 — 2026-01-25
- 24.21.0 — 2026-01-23
- 24.20.0 — 2026-01-23
- 24.19.0 — 2026-01-16
- 24.18.0 — 2026-01-16
- 24.17.0 — 2025-12-25
- 24.16.0 — 2025-12-17
- 24.15.0 — 2025-12-13
- 24.14.1 — 2025-11-29
- … 422 more at https://npm.io/package/@beenotung/tslib/versions

## README

# tslib

utils library in Typescript

[![npm Package Version](https://img.shields.io/npm/v/@beenotung/tslib)](https://www.npmjs.com/package/@beenotung/tslib)
[![npm Package Version](https://img.shields.io/npm/dm/@beenotung/tslib)](https://www.npmtrends.com/@beenotung/tslib)

## Why tslib

My original lib [jslib](https://github.com/beenotung/jslib) was build before ES6 was popular, it has a number of ES6-like classes and polyfill which is not compatible with the standard.

This lib is base on ES6 (and Typescript ES7) which should gain more native performance.

This library is influenced by ramda, elixir, haskell.

## Installation

### Install from git

```bash
mkdir -p lib
cd lib
git submodule add https://github.com/beenotung/tslib.git
```

### Install from npm

```bash
npm install @beenotung/tslib
```

## Remark

- curry only work for function of length > 0
  - breaking variety function (those who expect to accept variant length of arguments)
  - no effect on function of length 0

## Todo

- increase test coverage

## License

This is a Free and Open Source Software (FOSS) licensed under
[BSD-2-Clause](./LICENSE)

---
_Source: https://npm.io/package/@beenotung/tslib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
