Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fs-exists-sync-with-case

ceckenrode5ISC1.0.0

A Fast, Case-Sensitive Replacement for Node's Native fs.existSync.

fs, case, sensitive, exist, fs.existsSync, existSync, replacement

readme

fsExistSyncWithCase

A Fast, Case-Sensitive Replacement for Node's Native fs.existSync

Installation

npm install fs-exist-sync-with-case

Usage

var path = require("path");
var fsExistSyncWithCase = require("fs-exist-sync-with-case");


var fileExists = fsExistSyncWithCase(path.join(__dirname, "../../fiLeToCheCK/with/CASE.md"));
console.log(fileExists) // true or false