binary-find Basic implementation of binary search using a sorted array. Example var bf = require('bin-find'); bf([1, 2, 3, 4, 5], 3); // 2 bf([1, 2, 3, 4, 5], 5); // 4