pbojinov / request-ip

A Node.js module for retrieving a request's IP address on the server.
https://npmjs.com/package/request-ip
MIT License
830 stars 102 forks source link

Replaced is.js with internal functions #64

Closed richardweaver closed 2 years ago

richardweaver commented 2 years ago

Replaces the is.js dependency with just the minimal necessary functions. This should reduce bundle size and address the issue #63

I've also added tests for all of the replacement functions.

pbojinov commented 2 years ago

This is great, thank you @richardweaver!

pbojinov commented 2 years ago

Resolves https://github.com/pbojinov/request-ip/issues/63