0.1.2 • Published 9 years ago

basename v0.1.2

Weekly downloads
5,746
License
MIT
Repository
github
Last release
9 years ago

basename

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

Installation

> npm install basename

Usage

var basename = require('basename');

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

License

MIT © Tomek Wiszniewski.