glue-path

Glue path with '\' or '/' depending on platform

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
glue-path
000.0.47 years ago7 years agoMinified + gzip package size for glue-path in KB

Readme

glue-path Build Status
Glue & normalize path depending on os platform
Usage
npm install --save glue-path

API
var glue = require('glue-path')
var path = glue(["path", "to", "someting"])
console.log(path)
// in my case im using osx the result will be;
// path/to/something