shorteners
make any string to shorter for SEO or other devices limit length characters, good at for shorter url
Last updated 3 years ago by longnc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install shorteners 
SYNC missed versions from official npm registry.

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

'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

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |