1.0.7 • Published 5 years ago

corresponding-path v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Installation

npm install corresponding-path

Usage

const { resolvePath } = require('corresponding-path');
const source = './src/path/to/some/module.html';
const destination = './src/path_compiled';

const { input, output } = resolvePath(source, destination);

// Example:
console.log(output.dir.join('/')); // ./src/path_compiled/to/some

Licence

MIT

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago