@lando/platformsh
Version:
A Lando plugin that provides a tight integration with Platform.sh.
44 lines (21 loc) • 389 B
Markdown
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