UNPKG

shrtco.de

Version:
96 lines (73 loc) 1.95 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`<br> Now you need write code be like: ```js const { Shorter, Info } = require("./index.js"); const shrt = new Shorter("example.com"); const info = new Info("example"); ``` * Now all shorter methods at one method. ```js // 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. ```js // 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 shrtco.de@1.0.4` ## [1.0.4] - 2021-06-15 ### Added CHANGELOGS.md and METHODS.md ### Updated Methods has been shorted. ```js // 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! ```js 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! <!-- - [PROJECTNAME-UUUU](http://tickets.projectname.com/browse/PROJECTNAME-UUUU) MINOR Fix module foo tests - [PROJECTNAME-RRRR](http://tickets.projectname.com/browse/PROJECTNAME-RRRR) MAJOR Module foo's timeline uses the browser timezone for date resolution --> The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).