Skip to content

loganbussey/ready

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready

An async/await version of DOMContentLoaded.

Installation

$ npm install @loganbussey/ready

Usage

import ready from '@loganbussey/ready';

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