Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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?
- Host: GitHub
- URL: https://github.com/mvaldesdeleon/capital-p
- Owner: mvaldesdeleon
- License: other
- Created: 2017-05-15T20:02:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T13:29:26.000Z (over 7 years ago)
- Last Synced: 2024-10-14T13:05:43.909Z (about 1 month ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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