Transform an image to base64 in the browser.
You can use it via browserify and npm or the old school way.
var rslt = Image2Base64(myImage);
it may throw a SecurityError if the image doesn't support CORS.
cd examplenpm installnpm run build
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more