Catalog npm
Back to packageRELEASE DETAILS

0.4.0

npm

@0devs/async-pipe

organize async functions and promises into pipe, like promise.then, promise.catch

Published4 Feb 2019
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

async-pipe

organize async functions and promises into pipe, like promise.then, promise.catch

original repo kirillrogovoy/promised-pipe

install

npm i @0devs/async-pipe

usage

import {pipe} from "@0devs/async-pipe";

pipe(
  async () => 0,
  async (s) => s + 1,
  async (s) => s + 1,
  async (s) => s + 1,
)
  .then((r) => {
    console.log(r);
  })
  .catch((e) => {
    console.log(e);
  });

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0devs/package
Environment
{
  "local_name": "@0devs/package",
  "alias": false,
  "peer_metadata": null
}
^0.11.0development
@types/jest
Environment
{
  "local_name": "@types/jest",
  "alias": false,
  "peer_metadata": null
}
^23.3.9development
tslint-sonarts
Environment
{
  "local_name": "tslint-sonarts",
  "alias": false,
  "peer_metadata": null
}
^1.8.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-jxgu0yAA4KrE7W1l9zzLid7gmXYr7fTFDB7q7746viLF4s0dzWSGnG/IInuorYg47aFfH0dmavJ6m4mLtMuOgg==",
  "shasum": "5dddeae72bc13b3282442a3b79aa13379db39445",
  "tarball": "https://registry.npmjs.org/@0devs/async-pipe/-/async-pipe-0.4.0.tgz",
  "fileCount": 12,
  "unpackedSize": 17179,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcV6xMCRA9TVsSAnZWagAAqKoP/j1H+b3rFbyuTMTJUYmz\niZc+EPzrI9cYXuHHwC8whHcvqQ5W6tMD4VNuYssS2YRlpy/swl6mBhxzJwr0\n9dPqAYAyWhQo+uMYcIxXeFRuDS4Xq53A4s4b1uWRCTWZQtbTs2LzQUItE4TM\nBwVt2aWPf75fUB7hH/dYx9jm9WOIeSOV1CruufkHPYanYx66VJaA4uDESb7s\n6DWE0kXHZfeQuJzzKqXWH8+Hlhvqak8RUenH48xsl828i/kacMFYBbFvamXd\neqSzqtyzz5THcmMjnIUOaniS67ImLjozzypdTIFxzzERF1XaurHOcEIt17o7\nUjfBOTSeipvJwz56imR4SzDrsbvQC2WVqX9uOi0mISq2iFqDpr0umiuHSLW9\nDei1x9tysi+SRDAPxqUPwoock3/7ffJSZGVg1mind+caN/wcrAzBw66BaDxm\n9C8riLiTJXp3HYFSe3djtEeMvJcQZGWSE+BK+maxbsabkBOMiW8PSJZn0K4S\nWpPZtOX4oEA1VyMAE+ai3mjUTaZ+6fVET4ZvD22a78Ah8uk6jkkFgxTS+RVN\nydr6h6/qzURpgOMPA4pUwZcA7aeiVVQwjwWsDa9XZqZobWBLz47kge2UrUez\n93+QaP1KhjLspo4DtvgskQP/Jkj2KEe+tUvPXccot8ClIDBf/ZkFAkq7WXNH\nOigr\r\n=rgK0\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIGJr4AJ7FCUxkp/8O9XVujwyElKQwDPgxs9c6RxQo38FAiBmeQCF0FYFggPfPz9X4lwK5XQYrVTNIs+Oeff/2EDyyQ=="
    }
  ]
}

Repository

PENDING
0devs/node-async-pipe

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:07 UTC

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

Record identity

package_version:8f82da5e780ce9f3f8c8590daf92ced1c6941dd7ce0c748ef032e48b9e15a1d5

Other collected versions

0.7.017 Apr0.6.03 Sept0.5.05 Feb0.3.04 FebView all collected versions →