import { stringToU8a } from "https://deno.land/x/polkadot@0.2.19/util/string/index.ts";
Examples
import { stringToU8a } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
stringToU8a('hello'); // [0x68, 0x65, 0x6c, 0x6c, 0x6f]
import { stringToU8a } from "https://deno.land/x/polkadot@0.2.19/util/string/index.ts";
import { stringToU8a } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
stringToU8a('hello'); // [0x68, 0x65, 0x6c, 0x6c, 0x6f]