node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

mellow

Mellow

Mellow - convert path from web to windows.

Install

For use as module you could install mellow with:

npm i mellow --save

API

pathToWin

var mellow  = require('mellow');
    path    = mellow.pathToWin('/c/windows');
    // returns 
    'c:\windows'

pathFromWin

var mellow  = require('mellow');
    path    = mellow.pathFromWin('c:\windows');
    // returns 
    '/c/windows'

License

MIT