Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

expand-tilde

Package Overview
Dependencies
1
Maintainers
2
Versions
9
Issues
File Explorer

Advanced tools

expand-tilde

Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

    2.0.2latest
    Github

Version published
Maintainers
2
Weekly downloads
7,456,952
increased by6.31%

Weekly downloads

Readme

Source

expand-tilde NPM version NPM downloads Linux Build Status

Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or ~+ to the cwd.

Install

Install with npm:

$ npm install --save expand-tilde

Usage

See the Bash documentation for Tilde Expansion.

var expandTilde = require('expand-tilde'); expandTilde('~') //=> '/Users/jonschlinkert' expandTilde('~+') //=> process.cwd()

Run tests

Install dev dependencies:

npm i -d && npm test

About

  • braces: Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces… more | homepage
  • expand-brackets: Expand POSIX bracket expressions (character classes) in glob patterns. | homepage
  • is-glob: Returns true if the given string looks like a glob pattern or an extglob pattern… more | homepage
  • micromatch: Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | homepage

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Building docs

(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)

To generate the readme and API documentation with verb:

$ npm install -g verb verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.2.0, on December 08, 2016.

Keywords

FAQs

What is expand-tilde?

Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

Is expand-tilde popular?

The npm package expand-tilde receives a total of 7,153,299 weekly downloads. As such, expand-tilde popularity was classified as popular.

Is expand-tilde well maintained?

We found that expand-tilde demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 2 open source maintainers collaborating on the project.

Last updated on 08 Dec 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc