Socket
Book a DemoInstallSign in
Socket

shortlinker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shortlinker

A CLI utility to turn your website into a link shortener for your URLs

1.3.2
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

shortlinker

A Simple Node.js CLI Utility to create redirecting shortlinks on your own website.

Usage

Install using npm or yarn:

npm install -g shortlinker 
yarn global add shortlinker

Then run it:

shortlinker https://github.com/flxwu/shortlinker GH-Link

will create a GH-Link.html file in your current directory that redirects to https://github.com/flxwu/shortlinker.

CLI Options

Use -d to specify the directory in which the redirect-file will be put into:

shortlinker https://github.com/flxwu/shortlinker GH-Link -d code/flxwu.github.io/links/

Given the website root is flxwu.github.io, I can now access the shortlink via flxwu.github.io/links/GH-Link.html.

FAQs

Package last updated on 28 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.