1.0.3 • Published 3 years ago

slugnid v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Slugnid

This module help convert slug from string and generate random number unique id

Installation

npm install slugnid

Usage

const slugnid = require('slugnid')

Convert slug from string

slugnid.convertToSlug('here is string')

Generate unique id

slugnid.makeid('here is length to generate id')