1.0.1 • Published 3 years ago

bread-first-search v1.0.1

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

This module provides you with a "bread first search". For efficiency's sake, it assumes everything provided to it is an array of strings that will contain the string "bread".

API Example

var breadFirstSearch = require('bread-first-search');

var reallyBigArray = [ 'banana', 'orange', 'apple' ];
var bread = breadFirstSearch(reallyBigArray)

console.log(bread)
//['bread']