nest-tinyurl
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Description

This's a tinyUrl module for Nest to generate short url.

Installation

$ npm install nest-tinyurl

Quick Start

Include entity

export { TinyUrl } from 'nest-tinyurl';

Include module

import { TinyUrlModule } from 'nest-tinyurl';

Use service

import { TinyUrlService } from 'nest-tinyurl';

generate

TinyUrlService.generateShortUrl(url)

get

TinyUrlService.getUrlByShortUrl(url)

Readme

Keywords

none

Package Sidebar

Install

npm i nest-tinyurl

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

12.5 kB

Total Files

17

Last publish

Collaborators

  • marsprince