Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evan-moon/simple-base64
simple base64 encode/decode for nodeJS
https://github.com/evan-moon/simple-base64
Last synced: 26 days ago
JSON representation
simple base64 encode/decode for nodeJS
- Host: GitHub
- URL: https://github.com/evan-moon/simple-base64
- Owner: evan-moon
- License: mit
- Created: 2019-01-01T09:38:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T11:07:52.000Z (almost 6 years ago)
- Last Synced: 2024-04-14T07:42:19.466Z (9 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[npm-image]: https://img.shields.io/npm/v/simple-base64.svg
[npm-url]: https://www.npmjs.com/package/simple-base64# simple-base64 [![npm][npm-image]][npm-url]
Simple base64 encode/decode for JavaScript## Installation
```shell
npm install simple-base64
```## Usage (with CommonJS)
```javascript
const base64 = require('simple-base64');const encodedKorean = base64.encode('안녕하세요'); // -> 7JWI64WV7ZWY7IS47JqU
base64.decode(encodedKorean); // -> 안녕하세요const encoded = base64.encode('Hello World'); // -> SGVsbG8gV29ybGQ=
base64.decode(encoded); // -> Hello World
```