Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    sheetify-inlinepublic

    sheetify-inline stability

    npm version downloads travis 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 -u sheetify-inline ]

    JS api

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

    Installation

    $ npm install sheetify-inline

    License

    MIT

    Keywords

    none

    install

    npm i sheetify-inline

    Downloadsweekly downloads

    32

    version

    1.2.3

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar