UNPKG

lakutata

Version:

An IoC-based universal application framework.

15 lines (11 loc) 334 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function t(t) { if (t.startsWith("0x") || t.startsWith("0X")) t = parseInt(t, 16).toString(16); const n = t.length * 4; const e = BigInt.asIntN(n, BigInt(`0x${t}`)); return parseInt(e.toString()); } exports.HexToSigned = t;