1.0.7 • Published 6 years ago

corresponding-path v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago