find files synchronously, easily, with a chainable interface
yarn add chain-able-find
npm i chain-able-find --save
const find = require('chain-able-find')
const found = find(['!*.js', 'a.js'], {sync: false})
const found = find
.init()
.recursive(true)
.ignoreDirs(['ignant'])
.matchFiles(['**/*.js'])
.abs(true)
.sync(true)
.find(cwd)
.results()
const found = ff({
matchFiles: ['**/*.js'],
recursive: true,
ignoreDirs: ['ignant'],
abs: true,
sync: true,
cwd: entry,
})