write-script

0.3.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    0
  • 0.2.0
    1
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i write-script

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • zkochan