fp-or A tiny 'or' function for functional programming. Install $ npm install --save fp-or Usage const or = require('fp-or'); const result = [0, 1, 0, 2, 0, 3].map(or(5)); // result = [5, 1, 5, 2, 5, 3];