Package Exports
- mellow
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mellow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Mellow
Mellow - convert path from web to windows.
Install
For use as module you could install mellow with:
npm i mellowAPI
read
Read content of directory.
var flop = require('mellow');
mellow.read('.', function(error, data) {
console.log(error, data);
});
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