0.1.2 • Published 7 years ago

node-remote-base64 v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Remote Base64 Build Status

======

Installation

npm install --save node-remote-base64

Usage

ES5

  const remoteBase64 = require('node-remote-base64');
  
  const getBase64 = () =>
    remoteBase65('http://placehold.it/100x100')
      .then(b64data => console.log(b64data))
      .catch(err => console.log(err));

Babel ES7 (Async/Await)

  import remoteBase64 from 'node-remote-base64';

  const getBase64 = async () => {
    const b64data = await remoteBase65('http://placehold.it/100x100');
    console.log(b64data);
  }

Tests

npm test

Contributing

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

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago