stuf

1.0.4 • Public • Published

STuF - Standardized Truncated url Format

Copyright © Stuffy 2024 All rights reserved.

STuF is a url conversion format that shortens and obfuscates strings, designed for decentralized link sharing among end users.

Purpose

STuF allows users to share shortened, obfuscated links directly without relying on external servers. It empowers users to moderate their own content consumption responsibly.

Features

  • Converts links into shorter, obfuscated strings.
  • Supports HTTP and HTTPS links with immediate domain recognition.
  • Works offline without the need for external redirection
  • Preserves link integrity

Usage

Installation

Install STuF in your project via npm:

npm install stuf

Example

const { STuF } = require("stuf")

const exampleString = "https://www.thisisanexamplestring.gov/12234-49392234ab.png"

console.log(exampleString === STuF.decode(
  STuF.encode(
    exampleString
    )))

Full Documentation

This readme only applies to the npm javascript version of STuF. For more information, and a better overview, please refer to the project's main page.

Readme

Keywords

Package Sidebar

Install

npm i stuf

Weekly Downloads

1

Version

1.0.4

License

SEE LICENSE IN https://github.com/stuffyerface/STuF?tab=License-1-ov-file

Unpacked Size

5.39 kB

Total Files

3

Last publish

Collaborators

  • stuffy