appcd-path

2.0.8 • Public • Published

appcd-path

Library for working with paths.

Visit https://github.com/appcelerator/appc-daemon for more information.

Report issues to GitHub issues. Official issue tracker in JIRA.

Installation

npm i appcd-path

Usage

import { expandPath } from 'appcd-path';

// replace ~ with the user's home path and join any additional segments
console.log(expandPath('~/foo', 'bar'));
import { real } from 'appcd-path';

// resolves symlinks to real path, even if symlink is broken
console.log(real('/some/path'));

Legal

This project is open source under the Apache Public License v2 and is developed by Axway, Inc and the community. Please read the LICENSE file included in this distribution for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i appcd-path

Weekly Downloads

174

Version

2.0.8

License

Apache-2.0

Unpacked Size

12.5 kB

Total Files

5

Last publish

Collaborators

  • cb1kenobi
  • awam
  • tisdk