JSPM

fs-file-name-sensitive

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q42925F
  • License MIT

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

Package Exports

  • fs-file-name-sensitive

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fs-file-name-sensitive) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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