An open API service indexing awesome lists of open source software.

https://github.com/loganbussey/ready

async/await version of DOMContentLoaded
https://github.com/loganbussey/ready

babel domcontentloaded domready es6 es7 es7-async javascript ready

Last synced: about 1 month ago
JSON representation

async/await version of DOMContentLoaded

Awesome Lists containing this project

README

          

# Ready

An async/await version of DOMContentLoaded.

## Installation

```sh
$ npm install @loganbussey/ready
```

## Usage

```js
import ready from '@loganbussey/ready';

(async () => {
await ready();
console.log('DOM ready!');
})();
```