## Usage

```js
var detect = require('{%= name %}');
```

## API
{%= apidocs("index.js") %}

## Case sensitive file systems

When using the `nocase` option, this library will attempt to detect the filepath with the following methods:

1. Try to read all files in the `filepath` using `fs.readdirSync`. If successful and `filepath` is a directory, return the `filepath`.
1. Try to read all files in the `filepath`'s directory using `fs.readdirSync`. If successful, do case insensitive comparasions of the `filepath` to the files in `filepath`'s directory.
