
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
funfix-exec
Advanced tools
Sub-package of Funfix defining type classes inspired by Haskell's standard library and by Typelevel Cats
Sub-project of Funfix containing low level, side-effectful utilities and data types for building higher level concurrency tools.
Links:
You can depend on the whole funfix
library, by adding it to
package.json
:
npm install --save funfix
In this case imports are like:
import { Future } from "funfix"
Or for finer grained dependency management, the project can depend
only on funfix-exec
:
npm install --save funfix-exec
In this case imports are like:
import { Future } from "funfix-exec"
Usage sample:
import { Future } from "funfix"
const f1 = Future.of(() => "hello")
const f2 = Future.of(() => "world")
const greeting = Future.map2(f1, f2, (a, b) => a + " " + b)
greeting.onComplete(r => {
r.fold(console.error, console.info)
})
The library has been compiled using UMD (Universal Module Definition), so it should work with CommonJS and AMD.
But it also provides a module
definition in package.json
, thus
providing compatibility with
ECMAScript 2015 modules, for usage when used with a modern JS engine,
or when bundling with a tool chain that understands ES2015 modules,
like Rollup or Webpack.
Licensed under the Apache License, Version 2.0.
FAQs
Sub-package of Funfix defining type classes inspired by Haskell's standard library and by Typelevel Cats
The npm package funfix-exec receives a total of 5,645 weekly downloads. As such, funfix-exec popularity was classified as popular.
We found that funfix-exec demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.