Create a title from an input text.
$ npm install titly --save
const titly = require('titly')
titly('do something', {
separator: ' ',
length: 8
})
Required
Type: string
The input text to extract the title.
Type: string
Default:
Split the input text based in the separator.
Type: number
Default: 8
Count number of elements based on the separator for truncate the title.
MIT © Kiko Beats.