mellow

Convert path from web to windows

Mellow

Mellow - convert path from web to windows.

For use as module you could install mellow with:

npm i mellow

Read content of directory.

var flop = require('mellow');
 
mellow.read('.', function(errordata) {
    console.log(error, data);
});
 
var mellow  = require('mellow');
    path    = mellow.pathToWin('/c/windows');
    // returns 
    'c:/windows'
var mellow  = require('mellow');
    path    = mellow.pathFromWin('c:/windows');
    // returns 
    '/c/windows'

MIT