README
trim-with
Functional array trimming: provide a function that decides whether a value is falsy, and this trims the array from both sides.
var trimWith = require('trim-with');
trimWith([0, 1, 0], function(element) {
// removes falsy values from sides
return !element;
});