import { getDomain } from "ts-root-source"; console.log(getDomain("a.b.github.io"));