basename
Get the bare name of a file, without its extension.
Last updated 11 years ago by tomekwi .
MIT · Repository · Bugs · Original npm
$ cnpm install basename 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.2                                ...           latest (11 years ago)

1 Versions

  • 0.1.2                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org