Skip to content

zkochan/write-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

write-script

Writes a script tag to the document if the document is loading or inserts a script tag in case the document finished loading.

Dependency Status Build Status npm version

Installation

npm i --save write-script

Usage

var writeScript = require('write-script');

writeScript('http://foo.com/bar.js', {
  async: true
});

License

MIT

About

Writes a script tag to the document.

Resources

License

Stars

Watchers

Forks

Packages

No packages published