A small promise library, inspired by q
Notice:this library shouldn't be used in browser enviroment unless any further notice. more
Browser Avaliable Feature List
Install
npm i @ksryy/p
To inport the module, you could use CommonJS style
var {fcall,pcall} = require('@ksryy/p');
or ES6 style
import {fcall,pcall} from '@ksryy/p'
for more API use, see the Docs
Contribute
yarn install
or
npm install
to install the dependencies.
/src/p.js is the sourcecode.
/p.js is the compiled code (by @babel).
if you want to compile, just run grunt
.
if you want to run test suite, use jest
License
MIT @ Andy Chen
FOSSA Report