namespace-guard docs
Is this name really free?
namespace-guard checks a name before someone claims it: that it’s in the right format, that it isn’t reserved or already taken in any of your tables, and that it doesn’t pass for a name you protect. It has no dependencies and works with nine databases.
yourapp.com/
Type a name, or pick one below.
Start hereGetting startedInstall it, point it at your tables, and check your first name in five minutes.
GuideProtect namesStop rn for m, a capital I for l, and a Cyrillic paypal from passing for names you care about.
ReferenceThe guardEvery method, what it returns, and when to use which.
#Find your way
- How a name is checked
- Claim a name without a race
- Allow Unicode names safely
- Suggest a free name
- Block offensive names
- Clean text before an LLM reads it
- Check lookalike domains
- Compare two names
- Test your rules in CI
- Upgrade to 0.23
- Prisma, Drizzle and seven more
- What changed
The examples in these docs run against the library in your browser, and the same examples run in the test suite, so what you read is what the code does. Double-click an example to edit it, then run your version.