Skip to content

Latest commit

 

History

History
96 lines (73 loc) · 1.9 KB

CHANGELOGS.md

File metadata and controls

96 lines (73 loc) · 1.9 KB

Change Log

All notable changes to this project will be documented in this file.

[2.0] - 2022-01-26

Updated

  • FULL MODULE REWRITED!
  • Module now using class instead function
    Now you need write code be like:
const { Shorter, Info } = require("./index.js");

const shrt = new Shorter("example.com");
const info = new Info("example");
  • Now all shorter methods at one method.
// OLD
scode.short({ url })
scode.custom({ url, code })
scode.emoji({ url })
scode.pass({ url, pass })

// NEW
shrt.short({ pass, emoji, code })
  • Info method gets small improvement.
// OLD
scode.info({ code })

// NEW
info = new Info(code);
return await info

You still can download old version of module. Just type in console npm install [email protected]

[1.0.4] - 2021-06-15

Added

CHANGELOGS.md and METHODS.md

Updated

Methods has been shorted.

// OLD
shrtcode.shorten(link)
shrtcode.customShorten(link, code)
shrtcode.emojiCode(link)
shrtcode.passShort(link, pass)

// NEW
scode.short({ url })
scode.custom({ url, code })
scode.emoji({ url })
scode.pass({ url, pass })

README.md has beed shorted.

[1.0.3] - 2021-06-04

Added

Typings.

[1.0.2] - 2020-07-30

Added

New methods!

shrtcode.customShorten(link, code)
shrtcode.emojiCode(link)
shrtcode.passShort(link, pass)

[1.0.1] - 2019-07-19

Fixes

Fixed README.md

[1.0.0] - 2019-07-19

RELEASE!

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.