Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 503 Bytes

readme.md

File metadata and controls

28 lines (17 loc) · 503 Bytes

@node-fetch/btoa-lite

Simplest btoa implementation

Install

npm install @node-fetch/btoa-lite

Usage

import btoa from '@node-fetch/btoa-lite';

console.log(btoa('Hello World'));
//=> 'SGVsbG8gV29ybGQ='

API

FAQ

What's the difference with btoa-lite?

The Node.js implementation of that module uses a deprecated method.