slash-detector

Detects slashes and backslashes in strings

Usage no npm install needed!

<script type="module">
  import slashDetector from 'https://cdn.skypack.dev/slash-detector';
</script>

README

slash-detector

build status AppVeyor Build Status


Detects slashes and backslashes in strings


Get it!

npm install --save slash-detector

Usage

var slashDetector = require('./index.js')
var astring = 'wefiwejifljwie\\\\\///////\\\\/////'

var det = slashDetector.iSlashes(astring)

console.log(det)

API

slashDetector.iSlashes(str)


License

MIT