exists-case

Wrap fs.exists for case sensitivity

Downloads
1.7K
Stars
2
Committers
1

exists-case

Wrap fs.exists for case sensitivity


Caution: this repo is slower than fs.exists, do not use it in production!

See benchmark

Install

$ npm install exists-case -g

Usage

var exists = require('exists-case');
// try to test Package.json in cwd
exists('Package.json', function(result) {
  result.should.be.false;
});

Same as sync way

var exists = require('exists-case');
// try to test Package.json in cwd
exists.sync('Package.json').should.be.false;

LISENCE

Copyright (c) 2015 popomore. Licensed under the MIT license.

Package Rankings
Top 7.56% on Npmjs.org
Badges
Extracted from project README
NPM version Build Status Build Status NPM downloads