npm byte-size 5.0.0
v5.0.0

latest releases: 8.1.1, 8.1.0, 8.0.0...
5 years ago

Breaking changes since v4.0.4

Support for Node.js versions less than v6 has been dropped. Technically, this is not a breaking change since byte-size v5.0.0 still works with node v4 (the byte-size API and code has not changed) but future releases will be tested in node v6 and above only.

New features

This library is now compatible with Node.js, the Web and any style of module loader. See the readme for examples.

Upgrade notes

If you're using Node.js v6 or above, since there have been no API changes to byte-size you can safely upgrade to v5.0.0.

Don't miss a new byte-size release

NewReleases is sending notifications on new releases.