Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvaldesdeleon/capital-p

Because why the fuck not?
https://github.com/mvaldesdeleon/capital-p

Last synced: about 6 hours ago
JSON representation

Because why the fuck not?

Awesome Lists containing this project

README

        

# capital-p

Because why the fuck not?

```JS
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](https://npmjs.org) do:

```
npm install capital-p
```

# license

MIT