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

Package detail

fs-file-name-sensitive

snowyu35MIT0.1.2

Check the file name of the file system is case-sensitive or not.

fs, file system, file, file name, check, case, sensitive, insensitive

readme

fs-file-name-sensitive npm

Build Status Code Climate Test Coverage downloads license

Check file-system(fs) file name is case-sensitive or not.

Usage

isFileNameSensitive  = require('fs-file-name-sensitive')

console.log(isFileNameSensitive('/path/to/check/'))

API

function isFileNameSensitive(aPath[, aOptions])

  • arguments
    • aPath (String): the path to check.
    • aOptions (Object):
      • cache (Boolean): whether cache the result of the aPath. defaults to true.
  • return (Boolean): whether the file name is sensitive or not in aPath.

TODO

License

MIT