mugunghwa
v1.0.0
Published
> πΊ 무κΆν μ½λ mugunghwa code ( kr base 72 ) >
Downloads
2
Readme
mugunghwa
πΊ 무κΆν μ½λ mugunghwa code ( kr base 72 )
무κΆν μ½λλ 10μ§λ² μ«μλ₯Ό νκΈ λ²νΈλ‘ λ³νν΄μ£Όλ λͺ¨λμ λλ€. JSConf Korea λ°νλ₯Ό ν΅ν΄μ 6μ 22μΌ μ΅μ΄ 곡κ°λμμ΅λλ€.
Install
npm install mugunghwa --save
Usage
무κΆν μ½λλ λ€μκ³Ό κ°μ΄ μ¬μ©ν μ μμ΅λλ€.
Encode
import mugunghwa from 'mugunghwa'
const encoded = mugunghwa.encode(`31252352334`)
console.log(`encoded: ${encoded}`)
Decode
import mugunghwa from 'mugunghwa'
const encoded = mugunghwa.encode(`31252352334`)
const decoded = mugunghwa.decode(encoded)
console.log(`encoded: ${encoded}`)
console.log(`decoded: ${decoded}`)
Is browser support?
λΈλΌμ°μ μμ μ¬μ©ν μ μλ λ°λ‘ 첨λΆκ°λ₯ν μ½λλ build ν΄λ μμ mugunghwa.js μ λλ€.
What exactly mugung.js
mugung.js λ Big-Integer μ°μ° λͺ¨λμ΄ ν¬ν¨λμ΄μ μ°μ°λ²μκ° λμ΄λ λ²μ μ λλ€. λ§μ½ 1000μ΅μ λλ λ²μλ₯Ό κ³μ°ν΄μΌνλ κ²½μ° mugung.js λͺ¨λμ μ¬μ©ν΄μ£ΌμΈμ.
License
MIT Licensed.