kuno / GeoIP

GeoIP binding for nodejs(>=0.10) and iojs
GNU Lesser General Public License v2.1
414 stars 129 forks source link

Type-check ip addresses/domains #69

Closed wcummings closed 10 years ago

wcummings commented 10 years ago

If you pass the incorret type, an assertion will fail in the native extension, causing your node.js process to die (theres no way to catch this error!). Now ip addresses are typechecked in js before being passed to native.

kuno commented 10 years ago

@wcummings

thanks, I'll add your name and email into contributors list.