0.1.2 • Published 11 months ago

@3-/u8map v0.1.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

@3-/u8map

把字符串字典转为一个 Uint8Array(用 0 分隔,因为字符串不包含 0)

test/main.coffee :

#!/usr/bin/env coffee

> @3-/u8map/encode.js
  @3-/u8map/decode.js

bin = encode {
  a : '测试'
  b : '123'
}

console.log decode bin

output :

{ a: '测试', b: '123' }

About This Project

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于本项目

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

0.1.2

11 months ago

0.1.1

2 years ago