Catalog npm
PACKAGE EXPLORERView in registry

@0ti.me/tiny-pfp

npm

A tiny, minimalist lodash alternative library

Versions collected10
Direct dependencies15From release 0.1.14
Last observed20 Oct, 22:16 UTC

README

Current package documentation

Build Status Coverage Status

tiny-pfp

A lightweight alternative to lodash.

Functional Programming

const {fp} = require('@0ti.me/tiny-pfp');

const mapReduce = (mapFn, reduceFn, initialAccumulator) =>
  flow([fp.map(mapFn), fp.reduce(reduceFn, initialAccumulator)]);

const data = [1, 2, 3];

const result = mapReduce(each => 3 * each, (acc, each) => acc + each, 0)(data);

console.error(result); // Outputs the sum of 3x each item in data: 18

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 10

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.14Registry latest20 Oct 202015
0.1.1331 Aug 202014
0.1.1217 Aug 202014
0.1.108 Aug 202014
0.1.98 Aug 202014
0.1.78 Aug 202012
0.1.65 Aug 202012
0.1.55 Aug 202012
0.1.45 Aug 202012
0.1.24 Aug 202012

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0time/tiny-pfp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b9b2e2228fbbb0ed8416c65219429dba7f1a230933986b55642d7fbc2d2f9046