fromis

A simple promise implementation (~300Byte)

Usage no npm install needed!

<script type="module">
  import fromis from 'https://cdn.skypack.dev/fromis';
</script>

README

fromis

A simple promise implementation (~300Byte)

fromis9

Install

npm i fromis

UMD

<script src="http://unpkg.com/fromis">

Example

import fromis from 'fromis'

const promise = fromis((resolve, reject) => { /* ... */ })
    .then(/* ... */)
    .catch(/* ... */)

License

MIT