Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
hkt-toolbelt
Advanced tools
A higher-kinded-type companion to ts-toolbelt.
npm install hkt-toolbelt
import $, { List, Conditional } from "hkt-toolbelt";
// A kind that filters to find numbers.
type FilterNumbers = List.Filter<Conditional.SubtypeOf<number>>;
type Result = $<FilterNumbers, [1, null, 2, 3, "4"]>; // [1, 2, 3]
You can also optionally import subpaths.
import $ from "hkt-toolbelt";
import { Filter } from "hkt-toolbelt/list";
import { SubtypeOf } from "hkt-toolbelt/conditional";
type FilterNumbers = Filter<SubtypeOf<number>>;
type Result = $<FilterNumbers, [1, null, 2, 3, "4"]>; // [1, 2, 3]
[0.5.1]
Test.Expect
in checking equality between two never
types.FAQs
Functional and composable type utilities
The npm package hkt-toolbelt receives a total of 27 weekly downloads. As such, hkt-toolbelt popularity was classified as not popular.
We found that hkt-toolbelt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.