mugunghwa

1.0.0ย โ€ขย Publicย โ€ขย Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i mugunghwa

Weekly Downloads

0

Version

1.0.0

License

LICENSE.md

Unpacked Size

403 kB

Total Files

34

Last publish

Collaborators

  • hmmhmmhm