get-base64

Get base64 from a string

Usage no npm install needed!

<script type="module">
  import getBase64 from 'https://cdn.skypack.dev/get-base64';
</script>

README

get-base64 Build Status

Get base64 from a string

Install

$ npm install --save get-base64

Usage

var getBase64 = require('get-base64');

getBase64('foo dW5pY29ybg== bar Ym9hdA==');
//=> ['dW5pY29ybg==', 'Ym9hdA==']

CLI

$ npm install --global get-base64
$ get-urls --help

  Usage
    $ get-base64 <file>
    $ cat <file> | get-base64

License

MIT © Kevin Mårtensson