
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
funk-lib is a standard library for full-stack functional programming with native JavaScript types. It is inspired by Ramda, but does not intend to duplicate Ramda's functionality. There is some overlap with core Browser and Node.js APIs, for the sake of normalization and isomorphism.
Pure functions
Mostly. There are a few documented exceptions
Currying
All functions are curried, and arguments are arranged "data last" for useful partial application
Isomorphic
Packages are available for both
Node.js (CommonJS) - npm/funk-libBrowser (ES Modules) - npm/funk-lib-esVast
Includes over 300 functions for working with
For a full list of functions see the Documentation For The Latest Release
npm i -P funk-lib
# or: es-module compatible build
npm i -P funk-lib-es
const { mapKeys } = require('funk-lib/object');
// or: es-module compatible build
import { mapKeys } from 'funk-lib-es/object';
$ npm run <command>
| command | description |
|---|---|
build | Transpile source |
cover | Run test coverage |
init | Re/Install deps |
init:hard | init with a fresh package-lock |
docs | Parse docs to JSON |
lint | Lint the source |
test | Run tests |
test:watch | Run tests on change |
verify | Verify linting, tests, coverage |
Created by Colby Dauphinais
FAQs
FP for Vanilla JavaScript
We found that funk-lib 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.