Package Exports
- ambi
Readme
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.
Usage
Install
- Install:
npm install --save ambi - Import:
import pkg from ('ambi') - Require:
const pkg = require('ambi').default
import pkg from 'https://unpkg.com/ambi@^8.21.0/edition-deno/index.ts'<script type="module">
import pkg from '//cdn.skypack.dev/ambi@^8.21.0'
</script><script type="module">
import pkg from '//unpkg.com/ambi@^8.21.0'
</script><script type="module">
import pkg from '//dev.jspm.io/ambi@8.21.0'
</script>Editions
This package is published with the following editions:
ambialiasesambi/index.cjswhich uses the Editions Autoloader to automatically select the correct edition for the consumer's environmentambi/source/index.tsis TypeScript source code with Import for modulesambi/edition-browsers/index.jsis TypeScript compiled against ES2019 for web browsers with Import for modulesambi/edition-esnext/index.jsis TypeScript compiled against ESNext for Node.js with Require for modulesambi/edition-es2020/index.jsis TypeScript compiled against ES2020 for Node.js with Require for modulesambi/edition-es2019/index.jsis TypeScript compiled against ES2019 for Node.js with Require for modulesambi/edition-es2018/index.jsis TypeScript compiled against ES2018 for Node.js with Require for modulesambi/edition-esnext-esm/index.jsis TypeScript compiled against ESNext for Node.js with Import for modulesambi/edition-es2020-esm/index.jsis TypeScript compiled against ES2020 for Node.js with Import for modulesambi/edition-es2019-esm/index.jsis TypeScript compiled against ES2019 for Node.js with Import for modulesambi/edition-es2018-esm/index.jsis TypeScript compiled against ES2018 for Node.js with Import for modulesambi/edition-deno/index.tsis TypeScript source code made to be compatible with Deno
History
Discover the release history by heading on over to the HISTORY.md file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
- Benjamin Lupton — view contributions
- Chris Tavares — view contributions
- Sean Fridman — view contributions
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
License
Unless stated otherwise all works are:
- Copyright © 2013+ Bevry Pty Ltd
- Copyright © 2011-2012 Benjamin Lupton
and licensed under: