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