nouveau-theatre-de-besancon/node_modules/lookup-path
2024-09-20 10:32:49 +02:00
..
node_modules install gulp to process code 2024-09-20 10:32:49 +02:00
index.js install gulp to process code 2024-09-20 10:32:49 +02:00
LICENSE install gulp to process code 2024-09-20 10:32:49 +02:00
package.json install gulp to process code 2024-09-20 10:32:49 +02:00
README.md install gulp to process code 2024-09-20 10:32:49 +02:00

lookup-path NPM version Build Status

Attempt to resolve the absolute filepath to a file and verify that it exists.

You might also be interested in is-absolute.

Install

Install with npm:

$ npm i lookup-path --save

Usage

var lookup = require('lookup-path');
console.log(lookup('package.json'));
//=> '~/package.json'

// pass a cwd as a second parameter
lookup('foo.js', 'test');

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2016 Jon Schlinkert Released under the MIT license.


This file was generated by verb, v0.9.0, on February 07, 2016.