UNPKG

shorteners

Version:

make any string to shorter for SEO or other devices limit length characters, good at for shorter url

21 lines (15 loc) 606 B
# Shortener A mini Node.js module for make string shorter, url-friendly, can't decrypt. Use this module when you want to encrypt any string shorter for devices limit characters, unique and url friendly. Easy for use without any setup, without put any options, only require then call now ## Usage ```js 'use strict'; var shortener = require('shorteners'); // define string let my_url = 'http://www.lazada.co.th/maybelline-1-maybellinefashion-brow-ultra-fluffy-brown1-7906309.html'; // call hash make shorter string let url_shorter = shortener.shortener(my_url); console.log(url_shorter); // 1XpN4z ```