Skip to content

Latest commit

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

sheetify-inline stability

npm versiondownloadstravis build

Plugin transforms img to base64 for sheetify

works with async functions (node 7.6+)

Example

before:

div{
background:url('test.png')
}

after:

div{
background:url('data:image/png;base64,iVBORw0KGgoAAA...')
}

Test

npm test

Command line

$ browserify entry.js -t [ sheetify/transform -t sheetify-inline ]

JS api

constbrowserify=require('browserify')browserify().transform('sheetify/transform',{transform: ['sheetify-inline']}).bundle()

Installation

$ npm install sheetify-inline

License

MIT

About

a plugin transforms img to base64 for sheetify

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages