JSPM

  • Created
  • Published
  • Downloads 239
  • Score
    100M100P100Q91485F
  • License Apache-2.0

Library for working with paths.

Package Exports

  • appcd-path

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 (appcd-path) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

appcd-path

Library for working with paths.

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

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-nodejs';

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

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.