v1.0.0
π Humanize a URL in Deno https://yogi.codes β yogi.codes
Repository
Current version released
5 years ago
Versions
π Humanize URL
Humanize a URL in Deno https://yogi.codes β yogi.codes/
β Getting started
Import the humanizeUrl or validURL function and use it:
import { humanizeUrl, validURL } from "https://deno.land/x/humanize_url/mod.ts";
await humanizeUrl('https://yogi.codes');
//=> 'yogi.codes'
await validURL('https://yogi.codes');
//=> trueCLI with DPX
After installing DPX, you can directly use the CLI using the dpx command:
dpx humanize_url https://yogi.codes
# yogi.codesCLI
Alternatively, you can use it directly from the CLI by using deno run:
deno run https://deno.land/x/humanize_url/cli.ts https://yogi.codes
# yogi.codesYou can also install it globally using the following:
deno install -n humanize_url https://deno.land/x/humanize_url/cli.tsThen, the package is available to run:
humanize_url https://yogi.codes
# yogi.codesπ©βπ» Development
Run tests:
deno testπ License
MIT Β© Denorg
A project by Denorg, the worldβs first Deno-focused community
organization and consulting company. Work with us β