append-loader

2.0.0 • Public • Published

append-loader

Used to insert arbitrary content at the end of a module.

Installation

npm install append-loader

Usage

To inject Javascript, pass in a value to content. All other parameters will be ignored. For example:

'append?content=' + encodeURIComponent('module.exports="foobar";module={exports:{}}')

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    102
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    102
  • 1.0.0
    2

Package Sidebar

Install

npm i append-loader

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

1.37 kB

Total Files

4

Last publish

Collaborators

  • danwang