private-ip

Check if IP address is private.

MIT License

Downloads
712.6K
Stars
33
Committers
10
private-ip - private-ip v3.0.2 Latest Release

Published by frenchbread 9 months ago

changes

  • updated yarn.lock
  • added types to exports map (346867a - thanks @achingbrain)
private-ip - private-ip v3.0.1

Published by frenchbread over 1 year ago

changes

  • bump ava to 5.3.1
  • bump typescript to 4.9.5
  • bump ipaddr.js to 2.1.0
private-ip - private-ip v3.0.0

Published by frenchbread almost 2 years ago

breaking changes

  • converted package to ESM. Make sure it is supported in your project if using > v3.0.0. [90ee0ce - thanks @tuyennhv]

other changes

private-ip - private-ip v2.3.4

Published by frenchbread about 2 years ago

changes

  • updated package dependencies
private-ip - private-ip v2.3.3

Published by frenchbread almost 3 years ago

changes

  • updated README.md
  • added type definitions

thanks to

  • @newhouse (#16)
  • @joshkel (#17)
private-ip - private-ip v2.3.0

Published by frenchbread about 3 years ago

Adds more flexibility for ipv4 address checks

changes (ref: #14)

adds support for:

  • omitted zero sections
  • sections with leading zeros
  • dec/hex conversion

dev

  • typescript support

thanks to

  • @x3rz
private-ip - private-ip v2.2.1

Published by frenchbread over 3 years ago

  • keep Netmask map results around, instead of re-computing each time | PR #13 (thanks @newhouse)
private-ip - private-ip v2.2.0

Published by frenchbread over 3 years ago

  • lots of improvements for correct package functionality
  • code refactoring & cleanup
  • updated package dependencies
private-ip - private-ip v1.0.5

Published by frenchbread over 7 years ago