npm install shimly  !Downloads
Create a JavaScript shim set using node.
Array.isArray() - MDN)Array.prototype.every() - MDN)Array.prototype.filter() - MDN)Array.prototype.forEach() - MDN)Array.prototype.indexOf() - MDN)Array.prototype.map() - MDN)Array.prototype.reduce() - MDN)Array.prototype.some() - MDN)Element.classList - Eli Grey's classList.js)fetch() – Github polyfill)Function.prototype.bind() -MDN)Object.assign() - MDN)JSON.stringify() and JSON.parse() - Douglas Crockford's JSON 2)Window.localStorage and Window.sessionStorage polyfill via cookies - Remy Sharp's Gist)Window.requestAnimationFrame() polyfill Paul Irish's Gist)String.prototype.trim() – MDN)matchMedia() – MDN)``bash`
$ npm install shimly
js
shimly.shim(shims, minify, destination); //create shim set
shimly.list(); //lists available shims
`$3
`js
// ...
var shimly = require('shimly')shimly.shim(['Array.every', 'Array.forEach'], false, 'shims.js');
// ...
`$3
`sh
Usage: shimly [options]Options:
-h, --help output usage information
-V, --version output the version number
-m, --minify Minify
-s, --shims Add the specified shims, comma separted
-o, --output [value] Output file
`
`sh
shimly -m -o file.js -s Array.every,JSON
``