$ cnpm install ambi
Ambi lets you execute any function ambidextrously; providing you the ability to execute any function (be it synchronous, asynchronous, returns, callbacks, promises) as if it returned a promise.
npm install --save ambiimport * as pkg from ('ambi')const pkg = require('ambi')<script type="module">
import * as pkg from '//dev.jspm.io/ambi@7.1.0'
</script>
This package is published with the following editions:
ambi aliases ambi/source/index.jsambi/source/index.js is ESNext source code for Node.js with Require for modulesambi/edition-browsers/index.js is ESNext compiled for web browsers with Require for modulesThis project provides its type information via inline JSDoc Comments. To make use of this in TypeScript, set your maxNodeModuleJsDepth compiler option to 5 or thereabouts. You can accomlish this via your tsconfig.json file like so:
{
"compilerOptions": {
"maxNodeModuleJsDepth": 5
}
}
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
Copyright 2013 - present © cnpmjs.org