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.
- Install:
npm install --save ambi
- Import:
import pkg from ('ambi')
- Require:
const pkg = require('ambi').default
import pkg from 'https://unpkg.com/ambi@^8.17.0/edition-deno/index.ts'
<script type="module">
import pkg from '//cdn.pika.dev/ambi/^8.17.0'
</script>
<script type="module">
import pkg from '//unpkg.com/ambi@^8.17.0'
</script>
<script type="module">
import pkg from '//dev.jspm.io/ambi@8.17.0'
</script>
This package is published with the following editions:
-
ambi/source/index.ts
is TypeScript source code with Import for modules -
ambi
aliasesambi/edition-esnext/index.js
-
ambi/edition-esnext/index.js
is TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules -
ambi/edition-browsers/index.js
is TypeScript compiled against ES2019 for web browsers with Import for modules -
ambi/edition-node-esm/index.js
is TypeScript compiled against ESNext for Node.js with Import for modules -
ambi/edition-deno/index.ts
is TypeScript source code made to be compatible with Deno
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:
- 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.
Unless stated otherwise all works are:
- Copyright © 2013+ Bevry Pty Ltd
- Copyright © 2011-2012 Benjamin Lupton
and licensed under: