pathinizer

0.0.4 • Public • Published

Pathinizer

DESCRIPTION

It's simple module for get correct paths to launched script and few connected directories. Also it's wrapping all path module functions.

INSTALLATION

npm install pathinizer

USAGE

const paths = require('pathinizer');

// paths to use 
console.log('my application working directory', paths.directory);
console.log('my application temporary directory', paths.temp);
console.log('my application started script file', paths.script);
console.log('link to node is', paths.node);
// wrapped path functions
console.log('path to readme', paths.join(paths.directory, 'README.md'));
console.log('readme extension', paths.extname('README.md'));
// and etc

Readme

Keywords

Package Sidebar

Install

npm i pathinizer

Weekly Downloads

4

Version

0.0.4

License

none

Last publish

Collaborators

  • gethsleader