Skip to content

Latest commit

 

History

History

README.md

W5S Promise module (@w5s/async)

NPM Version License

Installation

npm install @w5s/async

Usage

import { delay } from '@w5s/async';

export async function main() {
  await delay(1000); // Wait 1 second
  console.log('Hello world!');
}

License

MIT © Julien Polo julien.polo@gmail.com