Skip to content
forked from elliotttf/img64

Replace image sources with base64 encoded data strings.

License

Notifications You must be signed in to change notification settings

daviferreira/img64

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img64

Replace image sources with base64 encoded data strings.

Getting Started

Install the module with: npm install img64

var img64 = require('img64');
img64.encodeImgs(string, function(err, string) {
  // this string has all img src values base64 encoded.
});

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

  • 0.3.1 - Update dependencies for node v0.12 support.
  • 0.3.0 - Remove jQuery and underscore as dependencies.
  • 0.2.3 - Update node-jquery.
  • 0.2.2 - Update grunt.
  • 0.2.1 - Use node-jquery rather than a remotely hosted version.
  • 0.2.0 - Code refactoring, and simple support for local files.

License

Copyright (c) 2012 Elliott Foster Licensed under the MIT license.

About

Replace image sources with base64 encoded data strings.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%