1.0.5 • Published 7 years ago

@xbaun/base64url v1.0.5

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

base64url

An isomorphic javascript "base64url" encoder/decoder with Buffer/TypedArray support.

Install

npm install @xbaun/base64url

Usage

For es6 modules:

import * as base64url from '@xbaun/base64url';

For commonjs modules:

const base64url = require('@xbaun/base64url');

API

encode(value: string, encoding?: string): string;

base64url.encode('abcd');   
// YWJjZA

decode(value: string, encoding?: string): string;

base64url.decode('YWJjZA'); 
// abcd
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago