Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
The missing pseudo-standard library for fp-ts.
Documentation: samhh.github.io/fp-ts-std
The library is available on the npm registry under the same package name: fp-ts-std
fp-ts, newtype-ts, and monocle-ts are listed as peer dependencies.
Some of the more commonly needed functions from fp-ts-contrib are duplicated here.
fp-ts-std is published with both ESM and CJS modules. The import paths in either case needn't change and the appropriate module resolution should be picked up by Node and your bundler, however if your environment doesn't support conditional exports you'll need to import directly from a dist/(cjs|esm)/
subdirectory. Given ESM modules the library should tree shake well.
Node LTS - at time of writing v14 - and the latest evergreen browsers are supported.
fp-ts-std aims to achieve the following objectives:
null
or undefined
, or worry about a function throwing againfp-ts-std strives to adhere to the following principles:
Debug
module)IO
and Task
typesAdditionally, fp-ts-std enforces 100% testing coverage, and just about everything is documented with examples.
Unreleased work is commit to the develop
branch. master
is the release branch and whence the documentation is generated.
All modules and exports must be annotated with JSDoc. This information is used to generate documentation. Simple, illustratory tests can also be included and will be checked during docs generation. For more information, see docs-ts.
0.15.0 (2022-09-11)
IOEither
module.Monad
module.Newtype
module.NonEmptyString
module.Reader
module.ReaderEither
module.ReaderTask
module.ReaderTaskEither
module.TaskOption
module.altAllBy
to Alternative
and Option
.allM
and anyM
to Array
and ReadonlyArray
.omitFrom
, renameKey
, and withDefaults
to Struct
and ReadonlyStruct
.fanout
to Tuple
.Functor
, Applicative
, and Monad
instances to Function
.memptyWhen
, memptyUnless
, and pureIf
.omit
, reverting a change in 0.5.1.FAQs
The missing pseudo-standard library for fp-ts.
The npm package fp-ts-std receives a total of 13,128 weekly downloads. As such, fp-ts-std popularity was classified as popular.
We found that fp-ts-std demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.