base64-encode-string

1.0.0 • Public • Published

base64-encode-string

An ultra-basic module that just converts a string to its base64 equivalent. Designed to demonstrate how to build a JavaScript package for both Node and the browser.

Usage

npm install b64encode
var b64encode = require('base64-encode-string');
b64encode('foo');    // Zm9v
b64encode('foobar'); // Zm9vYmFy

Readme

Keywords

Package Sidebar

Install

npm i base64-encode-string

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • nolanlawson