Skip to content

find files synchronously, easily, with a chainable interface

Notifications You must be signed in to change notification settings

fluents/chain-able-find

Repository files navigation

chain-able-find

find files synchronously, easily, with a chainable interface

Build Status NPM version MIT License chain-able-find Dependencies fluent

📦 install

yarn add chain-able-find
npm i chain-able-find --save
const find = require('chain-able-find')

glob compat syntax

const found = find(['!*.js', 'a.js'], {sync: false})

chainable syntax

const found = find
  .init()
  .recursive(true)
  .ignoreDirs(['ignant'])
  .matchFiles(['**/*.js'])
  .abs(true)
  .sync(true)
  .find(cwd)
  .results()

object syntax

const found = ff({
  matchFiles: ['**/*.js'],
  recursive: true,
  ignoreDirs: ['ignant'],
  abs: true,
  sync: true,
  cwd: entry,
})

About

find files synchronously, easily, with a chainable interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published