https://github.com/jkernech/node-turl
TinyURL Node.js Module - https://tinyurl.com
https://github.com/jkernech/node-turl
nodejs tinyurl url-shortener
Last synced: about 2 months ago
JSON representation
TinyURL Node.js Module - https://tinyurl.com
- Host: GitHub
- URL: https://github.com/jkernech/node-turl
- Owner: jkernech
- License: mit
- Created: 2017-03-16T05:22:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T07:22:26.000Z (over 7 years ago)
- Last Synced: 2025-09-26T15:40:10.814Z (6 months ago)
- Topics: nodejs, tinyurl, url-shortener
- Language: JavaScript
- Homepage:
- Size: 56.6 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## node-turl
[](https://sonarcloud.io/dashboard?id=node-turl)
[](https://sonarcloud.io/dashboard?id=node-turl)
[](https://sonarcloud.io/dashboard?id=node-turl)
[](https://sonarcloud.io/dashboard?id=node-turl)
[](https://sonarcloud.io/dashboard?id=node-turl)
[](https://sonarcloud.io/dashboard?id=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);
});
```