Skip to content

About

this project is used by @recent-win-cli.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

Expand-Paths

CI

Install

$ yarn add @recent-cli/expand-paths
$ npm -i @recent-cli/expand-paths

Usage

const {expandUserPath, expandAppData} = require('@recent-cli/expand-paths')

// To resolve a path in the user's home folder

console.log(
    expand.expandUserPath(".bash_profile") 
);

console.log(
    expand.expandUserPath(".bash_profile", true) //# ensures path exists
);

// To resolve the user's AppData folder (Windows only. Returns null otherwise)
console.log(
    expand.expandAppData(".bash_profile", true) //# ensures path exists
);

Created for: @recent-cli tool

About

this project is used by @recent-win-cli.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages