Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: []

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages