Package Exports
- expand-tilde
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (expand-tilde) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
expand-tilde 
Bash-like tilde expansion for node.js. Expands leadings tildes in filepaths to the user home directory.
Install with npm
npm i expand-tilde --save
See the Bash documentation for Tilde Expansion.
Usage
var expandTilde = require('expand-tilde');
expandTilde('~')
//=> '/Users/jonschlinkert'
expandTilde('~+')
//=> process.cwd()
Run tests
Install dev dependencies:
node i -d && mocha
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on January 19, 2015.