1.2.1 • Published 2 years ago

shortme v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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/

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.2.1

2 years ago

1.0.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago