Catalog npm
Back to packageRELEASE DETAILS

0.1.4

npm

@0ti.me/tiny-pfp

[![Build Status](https://travis-ci.org/0time/tiny-pfp.svg?branch=master)](https://travis-ci.org/0time/tiny-pfp) [![Coverage Status](https://coveralls.io/repos/github/0time/tiny-pfp/badge.svg?branch=master)](https://coveralls.io/github/0time/tiny-pfp?branc

Published5 Aug 2020
Direct dependencies12
Transitive dependenciesNot calculated

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.

Declared dependencies 12

Native requirements
12 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0ti.me/test-deps
Environment
{
  "local_name": "@0ti.me/test-deps",
  "alias": false,
  "peer_metadata": null
}
^0.1.13development
bluebird
Environment
{
  "local_name": "bluebird",
  "alias": false,
  "peer_metadata": null
}
^3.7.1development
coveralls
Environment
{
  "local_name": "coveralls",
  "alias": false,
  "peer_metadata": null
}
^3.0.7development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^6.5.1development
eslint-config-prettier
Environment
{
  "local_name": "eslint-config-prettier",
  "alias": false,
  "peer_metadata": null
}
^6.4.0development
eslint-plugin-prettier
Environment
{
  "local_name": "eslint-plugin-prettier",
  "alias": false,
  "peer_metadata": null
}
^3.1.1development
lint-staged
Environment
{
  "local_name": "lint-staged",
  "alias": false,
  "peer_metadata": null
}
^9.4.2development
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.15development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^6.2.1development
nyc
Environment
{
  "local_name": "nyc",
  "alias": false,
  "peer_metadata": null
}
^14.1.1development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
^1.18.2development
proxyquire
Environment
{
  "local_name": "proxyquire",
  "alias": false,
  "peer_metadata": null
}
^2.1.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-3OXKJxvX4fPxiZSO8wEYS7/a1UwhaI1AjNKP6NF0q/k0AJBEYU+v80nNOsqXBEOWuusb3J3IVWLRZ1AZMyyoBg==",
  "shasum": "e385a700fbc7d1a771a9514c67b5fab3a1f66a25",
  "tarball": "https://registry.npmjs.org/@0ti.me/tiny-pfp/-/tiny-pfp-0.1.4.tgz",
  "fileCount": 37,
  "unpackedSize": 9330,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKgmHCRA9TVsSAnZWagAAMXYP/1nq2zfCrL8G7AY+iGOm\n1x55QjoNuoh7Uqy83NI/uITs7N3GeCgDuWjY1rTG/PUftnGaN3TmrVIfMoPc\nX95fWYanOoFKGFpSDv9CMdyHc8KPLYE4jyXgCn6w4i0TAED7hlvB4tAoL+Ye\nIA+1DhZeExJUCzCIIEquwF4MSlGYCTOcBnauUzxjT1IpL/dw45znu0DchT+b\nSJTfo4J82hj7NEP2IVkZZT/KF63soWmLjkZEfwcauhwbZOrlpb/faO1geXVg\npLuESwffonA/VJ7zAMiNzyi3ywKDlKmuqAyFuGmzJWI/oYpAWaE3cptJrou/\nRo/yy+oOr6dIq7c4cnvmtgokAL7gjLwiiR7D9mXeHtgLseWGt9cval+BKLmd\nGOnL2n2VoJZh5YH/bQG0E9j7QH6i4zypBA+ZFidHmztMNk4gl+K9M3og2EZw\nbEptgZjonKVy0QpbcDiBHaeYkjhAzc/A9s9Ldjhi17mu2giaTeayYDy81s3f\nvbLU+G2ZfPafyl/oemp1nJfFoTlpzh/NUb+0uxY/ZwmL0/221332DkKJVOn7\ncaA671EBtq+Fq/JseZ4g5dG+tAFoiiR1f4Hq0TOkc3KmIHJ1k4H+eyVk3DNw\nzwcZTQy8K82aUYvTppaBtHmbRQ4Yv0uRkLrRTHcXtfOn+h84bAhlayYhEIME\nwl2P\r\n=zwFt\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIEF7p5D7B2vW20+L5KLuhtDs9URAs2niu/Zd69HuD0gNAiEAmjuAsinDYopMEbmgmB0hwqXV6t5EH3WQSIeqpKUNjzc="
    }
  ]
}

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_version:c96aa984e3a5b4efe9dffae63e663f615d01b3a33d66d6bbbded143d8392ea68

Other collected versions

0.1.1420 Oct0.1.1331 Aug0.1.1217 Aug0.1.108 Aug0.1.98 Aug0.1.78 AugView all collected versions →