@heyooo-inc/reserved-subdomains
v1.2.4
Published
A list of names that should be reserved in multitenant apps.
Downloads
13
Maintainers
Readme
reserved-subdomains
A list of names that should be reserved in multitenant apps.
Install
$ npm install @heyooo-inc/reserved-subdomains
API reference
Methods
isNotValid(name)
Returns true
if the name is not valid where:
name
- the name to test.
isValid(name)
Returns true
if the name is valid where:
name
- the name to test.
Inspired by
https://github.com/nkkollaw/reserved-subdomains https://github.com/web-mech/badwords
License
MIT