JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 905
  • Score
    100M100P100Q105140F
  • License MIT

Convert path from web to windows

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

API

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