Socket
Book a DemoInstallSign in
Socket

@automatedtf/lime-painted-scout

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automatedtf/lime-painted-scout

A module for generating 3-word-long phrases suitable for generating a unique identifier randomly or by hashing an input. These words are derived from the game Team Fortress 2, with the module heavily inspired by [`angry-purple-tiger`](https://github.com/h

latest
Source
npmnpm
Version
0.0.15
Version published
Maintainers
1
Created
Source

lime-painted-scout

Table of Contents

  • Introduction
  • Getting Started
  • Phrase Composition
  • Examples

Introduction

A module for generating 3-word-long phrases suitable for generating a unique identifier randomly or by hashing an input. These words are derived from the game Team Fortress 2, with the module being heavily inspired by angry-purple-tiger.

Getting Started

You can install this module by running the command

npm install @automatedtf/lime-painted-scout
Example Usage

This module exports the function tf2Hash: (input?: string) => string.

import tf2Hash from "@automatedtf/lime-painted-scout";
...
const hash = tf2Hash("sometext"); // Hash of "sometext"
...
const randomHash = tf2Hash(); // A randomly generated hash
...

Phrase Composition

All phrases are composed of the form firstAdjective-secondAdjective-noun.

First Adjective

A firstAdjective is a word from any of the following categories:

  • Paints (e.g lime, muskelmannbraun)
  • Qualities (e.g unique, genuine)

🔗 All possible 'first-adjectives'

Second Adjective

A secondAdjective is a word from any of the following categories:

  • Modifications (e.g painted, spelled)
  • Variations (e.g australium, festive)

🔗 All possible 'second-adjectives'

Noun

A noun is a word from any of the following categories:

  • Classes (e.g spy, heavy)
  • Weapons (e.g wrench, kunai)
  • Maps (e.g badlands, foundry)

🔗 All possible 'nouns'

Examples

These are examples of strings that can be generated from the hashing function tf2Hash.

  • lime-painted-scout
  • vintage-gifted-ravine
  • genuine-spelled-cauldron
  • selfmade-killstreaked-spy

FAQs

Package last updated on 08 Jul 2021

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