Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
hkt-toolbelt
Advanced tools
A higher-kinded-type companion to ts-toolbelt
This library provides type-level utilities across many domains that may be mapped and combined in a functional way, using higher-kinded types.
Write robust, type-safe software with the benefit of composable and compile-time efficient types.
We aim to support hundreds of kind categories, including List, Boolean, String, Function, and more. We also provide a set of combinators for composing types.
> npm install hkt-toolbelt
import { $, List, Conditional } from "hkt-toolbelt";
type Result = $<
List.Filter<Conditional.Extends<number>>,
[1, "foo", 2, 3, "bar"]
>; // [1, 2, 3]
[0.17.1]
Parser
combinators.
Parser.Run
for state management.Parser.Map
for mapping over the result of a parser.Parser.Letter
and Parser.Letters
for parsing letters.Parser.ObjectSequence
for better result extraction.Object.Emplace
and Object.Merge
methods.FAQs
Functional and composable type utilities
The npm package hkt-toolbelt receives a total of 30 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.