reservify
v0.1.0
Published
Util to check for reserved subdomain as facebook.example.com or wiki.example.com
Downloads
4
Readme
reservify
Manage a list of reserved words Mostly used to blacklist reserved subdomains (à la Slack, e.g. http://apple.acme.com or http://wiki.acme.com)
Install
npm install reservify --save
Usage examples
Example
var reservify = require('reservify')();
// Modifiy reserved words or companies.
reservify
.add('slite') // Add a reserved word
.remove('weather') // Remove a reserved word
console.log(linkify.test('wiki')); // true
console.log(linkify.test('apple')); // true
console.log(linkify.test('saucette')); // false