Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reservify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reservify

Util to check for reserved subdomain as facebook.example.com or wiki.example.com

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

License

MIT

Keywords

FAQs

Package last updated on 22 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc