@ajar/slug

a very important utility

Usage no npm install needed!

<script type="module">
  import ajarSlug from 'https://cdn.skypack.dev/@ajar/slug';
</script>

README

Slug

a very important utility

install

npm i @ajar/slug

usage

const marker = require('@ajar/marker')
const slug = require('@ajar/slug');

const some_string = "this is a blog post title"
const another_string = "and some other stuff"

const result = slug(some_string,'and yet some other thing',another_string)

marker.info('before:',some_string)
marker.info('before',another_string)
marker.debug('after',result)