just-compact

returns a copy of an array with falsey values removed

Browse on unpkg