Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

asynode

Build Status

A cli tool for using top-level await. This means you can use await without wrapping the main logic with an async function.

This project was built for fun at 3am and is not suitable for production.

Install

npm install -g asynode

Usage

// somefile.js
const axios = require('axios');

const data = await axios.get(...);

Simply run asynode somefile.js. That's it. no need to wrap the main logic with an async function.

About

An experimental cli tool for using top-level await

Topics

Resources

License

Releases

No releases published

Packages

No packages published