@idigi/toint-tostr
v1.0.2
Published
string auto-incrementing
Downloads
7
Maintainers
Readme
Import
import { toInt, toStr, toBigInt } from "@idigi/toint-tostr";
toStr
console.info("toStr: 12", toStr(12)) // c
toInt
console.info("toInt: c", toInt("c")) // 12
from BigInt => toStr
console.info("toStr: 3507380638424220481302070744480563n", toStr(3507380638424220481302070744480563n)) //p7s6swwkCd277yC5R
from Str => toBigInt
console.info("toBigInt: p7s6swwkCd277yC5R", toBigInt("p7s6swwkCd277yC5R")) // 3507380638424220481302070744480563n