locate-path-cb

0.0.1 • Public • Published

locate-path-cb

locate-path callback version.

Installation

npm i locate-path-cb -S

Usage

const locatePath = require('locate-path-cb');

const files = [ ... ];

locate(files, { cwd: 'path/to/dir' }, (err, result) => {
  // result => 'existing-file'
});

locatePath(paths, [options,] callback)

  • paths
  • options.cwd
  • callback(err, result)

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i locate-path-cb

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nak2k