Skip to content

Polyfill Put Down

Choose a tag to compare

@tamb tamb released this 23 Sep 19:56
· 53 commits to master since this release

v3 has major breaking changes.

Changes:

  • library exports util function by default
  • Can be used with Node and Webpack/ES Modules.
  • you can add byString method to Object.prototype by pulling in the polyfill file
// util method
const bystring = require("object-bystring");

//polyfill
require("object-bystring/polyfill");
  • source code is now readable! This code was minified by an online tool and not webpack, so it was basically unreadable. Now it's easy to read and minified during the build!