capital-p

0.0.5 • Public • Published

capital-p

Because why the fuck not?

var P = require('capital-p');
 
var a = P((res, rej) => {
    setTimeout(() = { res('hello'); }, 1000);
});
 
var b = a.then(hello => `${hello}` world);
 
b.then(console.log.bind(console));
// Profit

install

with npm do:

npm install capital-p

license

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.52latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.52
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i capital-p

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • mvaldesdeleon