bringify

    0.1.0 • Public • Published

    bringify

    Turn File Content Into Javascript String

    var str = require('tmpl/index.html');

    Install

    npm install bringify

    Usage

    1. Package Configuration

    {
      "browserify": {
          "transform": [
            "bringify"
          ]
      },
        "bringify": {
            "extname": ['.html']
        }
    }

    2. API

    b.transform('bringify', { extname: ['.html'] })

    Options

    extname : Array, list of file extname, default: []

    Install

    npm i bringify

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • zinkey