Skip to content

tastekim/tastekim-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tastekim-Shortener

κΈ΄ url 을 가독성이 쒋은 짧은 url 둜 λ°”κΎΈμ–΄μ£ΌλŠ” λͺ¨λ“ˆμž…λ‹ˆλ‹€. 개인적으둜 μš΄μ˜ν•˜λŠ” μ„œλ²„λ₯Ό 톡해 μƒμ„±ν•˜κ³  있으며 일정 click count λ₯Ό μ²΄ν¬ν•΄μ„œ expire ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. commonjs와 ESM을 λͺ¨λ‘ μ§€μ›ν•©λ‹ˆλ‹€. Buy Me a Coffee

Install

npm install @tastekim/url-shortener

Usage

import { TasteShortener } from '@tastekim/url-shortener';

const url = 'http://github.com/tastekim';
const result = await TasteShortener(url);

console.log(result);

// or

const { TasteShortener } = require('@tastekim/url-shortener');

const url = 'http://github.com/tastekim';
const result = await TasteShortener(url);

console.log(result);

Output

interface Response {
  success: boolean;
  message: string;
  shortenUrl: string;
}

Warning

  • 짧은 μ‹œκ°„ λ™μ•ˆμ— shorten url 을 λ‹€λŸ‰ μƒμ„±ν•˜κ²Œ 되면 λŒ€κΈ° μ‹œκ°„μ΄ μƒκΉλ‹ˆλ‹€.

About

[npm] πŸ‡°πŸ‡· Easy way to make your long url shorter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published