Skip to content

bminusg/shortme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortme

Create a short slug version from your text input. This could be useful for your filenames or creative slugs.

Installation

  • Run npm install shortme --save

Usage

const shortme = require("shortme");
shortme("Your Text Input", options) // Return "yti"

options Type: Object

delimiterChar Type: String, Default: "_"

Define delimiter char sign

maxCharLength Type: Number, Default: 16

Define max length from returning output String

Demo

Live demo available on http://projects.bminusg.de/shortme/

About

shortme returns abbreviation text strings from your input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published