fs-file-name-sensitive
Version:
Check the file name of the file system is case-sensitive or not.
37 lines (22 loc) • 1.4 kB
Markdown
## fs-file-name-sensitive [](https://npmjs.org/package/fs-file-name-sensitive)
[](http://travis-ci.org/snowyu/fs-file-name-sensitive.js)
[](https://codeclimate.com/github/snowyu/fs-file-name-sensitive.js)
[](https://codeclimate.com/github/snowyu/fs-file-name-sensitive.js/coverage)
[](https://npmjs.org/package/fs-file-name-sensitive)
[](https://npmjs.org/package/fs-file-name-sensitive)
Check file-system(fs) file name is case-sensitive or not.
## Usage
```js
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