Current collected state Current
Observed since 20 Oct, 20:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
6764-system
6764进制(基于6763个高频中文汉字)
6764进制(基于6763个高频中文汉字)
$ npm i --save 6764-system
/*
*加密解密
*/
const { to6764, toNumber } = require("6764-system")
const hello = to6764("3706792")
console.log(hello) // 你好
const deceimalHello = toNumber("你好")
console.log(deceimalHello) // 3706792
const helloHex = to6764("388fa8", 16)
console.log(helloHex) // 你好
const hexHello = toNumber("你好", 16)
console.log(hexHello) // 388fa8
const helloWorld = to6764("169592022349604")
console.log(helloWorld) // 你好世界
const deceimalHelloWorld = toNumber("你好世界")
console.log(deceimalHelloWorld) // 169592022349604
const helloWorldHex = to6764("9a3e383fb724", 16)
console.log(helloWorldHex) // 你好世界
const hexHelloWorld = toNumber("你好世界", 16)
console.log(hexHelloWorld) // 9a3e383fb724
如果你有好点子,想改善这个库,
或者想要一起做点有意思的事
请联系我!
微信:Mid9Rain
小红书:雨叔
抖音:85665398215
知乎:雨叔
B站:雨叔在B站
MIT
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^18.0.3 | runtime |
bignumber.jsEnvironment{
"local_name": "bignumber.js",
"alias": false,
"peer_metadata": null
} | ^9.1.2 | runtime |
Source distribution
{
"integrity": "sha512-rECcFAK1dmxF8ffxO66UeQZvc2KbH6w09Q0OCO10EO8FfYCm09Wd/JJq2NFxCkXwsdef0JKwBNlmyVfO5VwZng==",
"shasum": "1864eb521bbfd586d07ca7dbd8081def0cbb513a",
"tarball": "https://registry.npmjs.org/6764-system/-/6764-system-1.0.3.tgz",
"fileCount": 10,
"unpackedSize": 291385,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIFXy4VgukUQUKDgl8AiFcFHVWvqhZK9XE6Uv+pH7opxXAiAA9fcwYWVTZSz+8MyS/DfN5KQLq6z4XiVEFPUL1XAxLQ=="
}
]
}Observed since 20 Oct, 20:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:0835dbf5f88af2841cf94d768aa4675b55bcfee5f01b5ce9ff7d2831bfaa066d