yd_base64_kiko
v0.0.1
Published
simple_base64_transfer
Downloads
5
Maintainers
Readme
Installation
npm install --save yd_base64_kiko
Usage
import base64 from "yd_base64_kiko";
let json = {
name: "yd",
age: "22",
};
let jsonToStr = JSON.stringify(json);
console.log("编码:", base64.baseEncode(jsonToStr));
console.log("解码:", base64.baseDecode(base64.baseEncode(jsonToStr)));