Installations
npm install @beenotung/tslib
Developer Guide
Typescript
Yes
Module System
N/A
Node Version
22.11.0
NPM Version
10.9.0
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (98.97%)
Shell (0.48%)
HTML (0.46%)
PHP (0.05%)
JavaScript (0.04%)
Developer
Download Statistics
Total Downloads
260,252
Last Day
118
Last Week
711
Last Month
9,324
Last Year
85,911
GitHub Statistics
7 Stars
1,387 Commits
2 Forks
2 Watching
4 Branches
1 Contributors
Bundle Size
139.57 kB
Minified
40.59 kB
Minified + Gzipped
Package Meta Information
Latest Version
24.2.1
Package Id
@beenotung/tslib@24.2.1
Unpacked Size
358.29 kB
Size
90.94 kB
File Count
285
NPM Version
10.9.0
Node Version
22.11.0
Publised On
01 Dec 2024
Total Downloads
Cumulative downloads
Total Downloads
260,252
Last day
118.5%
118
Compared to previous day
Last week
-75.9%
711
Compared to previous week
Last month
20.5%
9,324
Compared to previous month
Last year
117.4%
85,911
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
4
Optional Dependencies
1
tslib
utils library in Typescript
Why tslib
My original lib 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
1mkdir -p lib 2cd lib 3git submodule add https://github.com/beenotung/tslib.git
Install from npm
1npm 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
No vulnerabilities found.
Reason
17 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: BSD 2-Clause "Simplified" License: LICENSE:0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: npmCommand not pinned by hash: build-lib:3
- Warn: npmCommand not pinned by hash: gencode/curry:4
- Warn: npmCommand not pinned by hash: publish:10
- Info: 0 out of 3 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
4
/10
Last Scanned on 2024-12-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More