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

Readme

Keywords

Package Sidebar

Install

npm i capital-p

Weekly Downloads

4

Version

0.0.5

License

MIT

Last publish

Collaborators

  • mvaldesdeleon