0.0.3 • Published 2 years ago
tiyee-url v0.0.3
tiyee-url
short url by tiyee.cn
install
npm install tiyee-url
api
shortUrl
'use strict';
var tiyee = require('tiyee-url');
var test = async function(){
try{
var longUrl = 'https://baidu.com/';
var shortUrl = await tiyee.shortUrl(longUrl);
console.log(shortUrl);
}catch(e){
console.log(e);
}
};
test();
version
0.0.1.20200911
- init project
- short url
- tiyee-url