Skip to content

node-fetch/btoa-lite

Repository files navigation

@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.