Licence
MIT
Version
1.0.7
Deps
0
Size
241 kB
Vulns
0
Weekly
0
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