basename
========

**Get the bare name of a file, without its extension.**




Installation
------------


```sh
> npm install basename
```




Usage
-----

```js
var basename = require('basename');

basename('path/to/file.txt');
// » "file"
```




License
-------

[MIT][] © [Tomek Wiszniewski][].




<!-- Links -->
[MIT]: ./License.md
[Tomek Wiszniewski]: https://github.com/tomekwi
