UNPKG
turl
Version:
latest (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
http://tinyurl.com URL Shortener Node.js module
github.com/jkernech/node-turl/
jkernech/node-turl
turl
/
README.md
16 lines
(11 loc)
•
227 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## node-turl
http:
//tinyurl.com URL Shortener Node.js Module
### Usage
```
const
turl
=
require
(
'turl'
); turl.
shorten
(
'http://google.com'
).
then
((res) => { console.
log
(res); }).
catch
((err) => { console.
log
(err); }); ```