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

router-ips

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

router-ips - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

index.js
'use strict';
module.exports = require('./router-ips.json');
module.exports = new Set(require('./router-ips.json'));
{
"name": "router-ips",
"version": "0.2.0",
"version": "0.3.0",
"description": "List of common default router IP addresses",

@@ -13,3 +13,3 @@ "license": "MIT",

"engines": {
"node": ">=0.10.0"
"node": ">=4"
},

@@ -16,0 +16,0 @@ "scripts": {

@@ -20,3 +20,3 @@ # router-ips [![Build Status](https://travis-ci.org/sindresorhus/router-ips.svg?branch=master)](https://travis-ci.org/sindresorhus/router-ips)

console.log(routerIps.indexOf('192.168.0.1') !== -1);
console.log(routerIps.has('192.168.0.1'));
//=> true

@@ -26,4 +26,11 @@ ```

## API
### routerIps
Type: `Set`
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
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