
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
functionfoundry
Advanced tools
FunctionFoundry is JavaScript function library without side effects.
It is for formula.
npm install --save functionfoundry
// import the the entire library
var ff = require('functionfoundry')
// import specific files
var isArray = require('functionfoundry/fn/isarray')
The library depends on a modern JavaScript runtime. Load a polyfill like in core-js or babel-polyfill to support old browsers.
Install required polyfills with core-js:
require('core-js/fn/object/assign');
require('core-js/fn/object/keys');
require('core-js/fn/array/map');
require('core-js/fn/array/reduce');
var { and, eq, len, gt, lt, isnumber, isText, isEmail, isEmpty, lower, proper, text, date}
= require('functionfoundry')
isnumber(1),
isText('this is'),
isEmail('me@gmail.com'),
isEmpty(''),
gt(2, 1),
lt(1, 2),
and(true, false, true),
eq(len('foo'), 3),
eq(lower('HAPPY'), 'happy'),
eq(proper('happy'), 'Happy'),
eq(text(4200.00, "$#,###.00"), '$4,200.00'),
eq(text(date(2000, 2, 1), "m-d-yyyy"), '2-1-2000')
Optionally, may load specific functions to reduce bundle size.
var isNumber = require('functionfoundry/fn/isnumber')
var proper = require('functionfoundry/fn/proper')
FAQs
Pure function JavaScript library
The npm package functionfoundry receives a total of 2 weekly downloads. As such, functionfoundry popularity was classified as not popular.
We found that functionfoundry 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.