🏷️ X Name

Check if a package name is available in the https://deno.land/x third-party Deno modules registry.

Test CI

import { checkIfNameIsAvailable } from "https://deno.land/x/x_name/mod.ts";

await checkIfNameIsAvailable("abc"); // false
await checkIfNameIsAvailable("your-package-name"); // true

Alternatively, you can use it directly from the CLI by using deno run:

deno run --allow-net https://deno.land/x/x_name/mod.ts <your-package-name>

You can also install it globally using the following:

deno install --allow-net -n x-name https://deno.land/x/x_name/mod.ts

Then, the package is available to run:

x-name <your-package-name>

Required permissions:

  1. --allow-net

👩‍💻 Development

Run tests:

deno test --allow-net

📄 License

MIT © Denorg