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 --save
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