better-path-resolve
A better path.resolve() that normalizes paths on Windows
Installation
npm i -S better-path-resolve
Usage
'use strict'
const betterPathResolve = require('better-path-resolve')
console.log(betterPathResolve('c:/src'))
//> C:\src