A JavaScript micro library that provides case-insensitive string helpers
npm install ignore-caseA JavaScript micro library that provides case-insensitive string helpers.
Install using npm:
```
npm install ignore-case
`javascript`
var ignoreCase = require('ignore-case');
ignoreCase.equals('FOO', 'Foo'); // => true
Returns true if the specified strings are equal, ignoring case; otherwise, false.
Returns true if string contains searchString, ignoring case; otherwise, false.
Returns true if string starts with searchString, ignoring case; otherwise, false.
Returns true if string ends with searchString, ignoring case; otherwise, false.
Returns the index of the first occurrence of searchString in string, ignoring case, or -1 if searchString` is not found.