pretty-path-formatter

1.0.0 • Public • Published

How to use

const prettyPathFormatter = require('pretty-path-formatter');
 
const prettyPath = prettyPathFormatter('baz', '/foo/bar/baz/qux/corge.txt');
console.log(pretty); // baz/qux/corge.txt

Readme

Keywords

none

Package Sidebar

Install

npm i pretty-path-formatter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.07 kB

Total Files

4

Last publish

Collaborators

  • gsantos