npm.io
1.0.0 • Published 8 years ago

switch-slash

Licence
MIT
Version
1.0.0
Deps
1
Size
4 kB
Vulns
0
Weekly
0

switch-slash

build status AppVeyor Build Status


Switch slash and backslash in string


Get it!

npm install --save switch-slash

Usage

var switchSlash = require('./index.js')
var str = 'alpha//\\dg'
console.log([str, switchSlash(str)])

API

switchSlash(str)

License

MIT

Keywords