Releases: johnwquarles/mirrarray
Releases · johnwquarles/mirrarray
2.0.0
Version 2.0.0 changes the way that mirrarray
is exported via commonjs and as a global object. To this point it had been exporting the entire module in either of these cases, meaning that you'd have to call .default
to get to the actual function.
From now, you'll be able to use like so:
commonjs:
var mirrarray = require("mirrarray");
var keymirror = mirrarray(['this', 'that', 'another']);
Or if you include /dist/mirrarray.js
as a script tag, you can just use the global function mirrarray
.
Usage via es6 module syntax has not been affected.
v1.0.0
Initial release!