Skip to content

Noctember/urlsafe-base64-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Designed for usability and speed. No padding.

Alphabets as described in RFC 4648.

API

const Base64 = require('urlsafe-base64-native');
Base64.encode(input: String | input: Buffer): String
Base64.decode(input: String | input: Buffer): String

Why?

All packages I found on npm encode into url-safe base64 using Buffer.toString and then replacing +/ with -_. That's ugly.

Credits

About

Native implementation of urlsafe base 64 for nodejs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published