@jsep-plugin/async-await
v1.0.3
Published
Adds async/await support
Downloads
211
Readme
@jsep-plugin/async-await
A JSEP plugin for adding async/await support. Allows expressions of the form:
jsep('await a');
jsep('await a.find(async (v1, v2) => await v1(v2))');
Install
npm install @jsep-plugin/async-await
# or
yarn add @jsep-plugin/async-await
Usage
import jsep from 'jsep';
import jsepAsyncAwait from '@jsep-plugin/async-await';
jsep.plugins.register(jsepAsyncAwait);