Wondering what’s next for npm?Check out our public roadmap! »

    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

    Keywords

    none

    Install

    npm i write-script

    DownloadsWeekly Downloads

    1

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • avatar