jonschlinkert / is-number

JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
https://github.com/jonschlinkert
MIT License
258 stars 48 forks source link

Remove dependency on kind-of #8

Closed realityking closed 6 years ago

realityking commented 6 years ago

The version of kind-of this module is outdated and pulls in a few other dependencies. Since there's not much of the library used - and the current version changed behavior - let's jus inline the relevant parts.

jonschlinkert commented 6 years ago

published and released as 4.0, thanks! (fwiw I know it's just a simple change, but I err on the side of caution with versioning on libs that are downloaded as much as this one. saves me from having to go overboard thinking through edge cases on everything)

jonschlinkert commented 6 years ago

also invited you to be a collab and added you as an owner on npm for the future. thanks again!