# {%= name %} {%= badge("fury") %}

> {%= description %}

## Install
{%= include("install-npm", {save: 'save'}) %}
{%= include("install-bower", {save: 'save'}) %}

## Run tests

```bash
npm test
```

## Usage

```js
var endsWith = require('path-ends-with');

endsWith('foo\\bar\\baz\\', '/');
//=> true
endsWith('foo\\bar\\baz\\', '\\');
//=> true
endsWith('foo/bar/baz/', '/');
//=> true
endsWith('foo/bar/baz', 'baz');
//=> true
endsWith('foo/bar/baz', 'bar/baz');
//=> true
endsWith('foo\\bar\\baz.md', 'baz.md');
//=> true
endsWith('foo\\bar\\baz.md', '.md');
//=> true
endsWith('foo\\bar\\baz.md', 'bar/baz.md');
//=> true
endsWith('foo\\bar\\baz.md', '/');
//=> false
endsWith('foo\\bar\\baz.md', 'baz');
//=> false
```

## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue][issues].


## Author
{%= include("author") %}

## License
{%= copyright() %}
{%= license() %}

***

{%= include("footer") %}