basename
v0.1.2
Published
Get the bare name of a file, without its extension.
Downloads
33,535
Readme
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"