slash-text

get strings between slashes

Usage no npm install needed!

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

README

slash-text

Get strings split by slashes: mertkahyaoglu/slash-text['mertkahyaoglu', 'slash-text']

Install

$ npm install --save slash-text

Usage

var st = require('slash-text');

st('mertkahyaoglu/slash-text');
//> ['mertkahyaoglu', 'slash-text']

License

MIT © Mert Kahyaoğlu 2015