import { hexToNumber } from "https://deno.land/x/polkadot@0.2.19/util/hex/toNumber.ts";
Examples
import { hexToNumber } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
hexToNumber('0x1234'); // => 0x1234
import { hexToNumber } from "https://deno.land/x/polkadot@0.2.19/util/hex/toNumber.ts";
import { hexToNumber } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
hexToNumber('0x1234'); // => 0x1234