Comments (1)
I don't think this is to be considered an issue. The first sentence of the readme says "highly inspired by Perl Net::NetMask" but does NOT claim to be API compatible.
The API documentation is very clear that first() and last()
are not returning the base address or the broadcast address, but the first and last useable address.
from node-netmask.
Related Issues (20)
- publish new npm version HOT 1
- Compile command doesn't work on windows HOT 1
- Create a netmask from an IP range
- /0 does not work as expected due to signed ints HOT 7
- contains method returns wrong result HOT 2
- forEach only returns error 'fn not a function' HOT 1
- Cannot construct with a IP network prefix as README.md suggests
- Out of memory error for '.forEach' iterator when used on large CIDR blocks HOT 1
- Method last() returns incorrect IP address HOT 1
- Return undefined or null instead of throw a error when input ip addr is invalid HOT 2
- Error in new hex handling code HOT 1
- Changelog HOT 1
- Audit vulnerability on version 2.0.1 HOT 1
- Can you publish 1.1.0 to npm? HOT 2
- Accepts IPs with fewer than four octets, result doesn't make sense HOT 3
- Version 1.1.0 not available HOT 1
- Improper Input Validation
- Different results with old a new version
- IPv6 protocol support HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-netmask.