- Include the type definition in the export map
- Export the package.json file #17
- Export types harder this time
- Include the type file in the package.json maybe?
- Now written in TypeScript, shipping with TS types!
- I tried to make this change perfectly backward-compatible, but I'm publishing it as a major version bump out of a hoovercurfundance of caution
- added
withDefaultRoundingStrategy
export to the entry point so you can get anumber
function that defaults to your preferred strategy
- added
mod
method for your modulo needs
- added a
toJSON
method that returns the string value of the number - input strings are now validated immediately when passed to the
number
function rather than later when you call a method
- Exposed a ES Module in addition to the CommonJS entry point