Skip to content

Base64 implementation with support for unicode strings

Notifications You must be signed in to change notification settings

scarlton/base64.coffee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CoffeeScript Base64 implementation

Usage

Base64.encode('hello world') # -> 'aGVsbG8gd29ybGQ='
Base64.decode('aGVsbG8gd29ybGQ=') # -> 'hello world'

But wait, there is more

Also supports unicode strings. Oh wow!

Base64.encode('привет мир') # -> '0L/RgNC40LLQtdGCINC80LjRgOCAgA=='
Base64.decode('0L/RgNC40LLQtdGCINC80LjRgOCAgA==') # -> 'привет мир'

About

Base64 implementation with support for unicode strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published