npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fcuk.js

v0.0.1

Published

Deterministic hash encoding with scattered vibes - encodes secrets into random-looking hashes with embedded tweaks

Readme

fcuk.js v0.0.1

Deterministic hash encoding with scattered vibes 🚀

Generate random-looking hashes with embedded secrets and custom tweaks. Everything is deterministic - no storage needed!

Installation

npm install fcuk.js

Quick Start

import fcuk from 'fcuk.js';

// Generate hash
const hash = fcuk.you({
  secret: 'admin_access_granted',
  vibes: ['fcuk', '69', 'awesome'],
  sprinkles: 64
});

console.log(hash);
// Output: 4A7F2c9E1F2C8u9K3B4D6FcuK4a2f3b5c6d7e8f...

// Decode hash
const decoded = fcuk.me(hash);
console.log(decoded);
// Output: admin_access_granted

API Reference

fcuk.you(options)

Generate encoded hash with secret and vibes.

Options:

  • secret (string, required) - The hidden payload
  • vibes (array, optional) - Words/strings to scatter in hash
  • sprinkles (number, optional, default: 64) - Hash length

Returns: Formatted hash string (mixedCase + l33t)

const hash = fcuk.you({
  secret: 'token123',
  vibes: ['secret', 'fcuk'],
  sprinkles: 64
});

fcuk.me(hash)

Decode hash back to secret.

Parameters:

  • hash (string) - Encoded hash from fcuk.you()

Returns: Decoded secret string

const decoded = fcuk.me(hash);

fcuk.youWithTimeline(options)

Generate hash with debug timeline showing step-by-step encoding.

Options: Same as fcuk.you()

Returns: { hash, timeline }

const { hash, timeline } = fcuk.youWithTimeline({
  secret: 'data',
  vibes: ['cool']
});

console.log(timeline);
// {
//   step1_seed: 123456,
//   step2_secretEncoded: '...',
//   step3_randomHash: '...',
//   step4_vibesScattered: '...',
//   step5_rawHash: '...',
//   step6_formatted: '...'
// }

fcuk.youPretty(hash)

Pretty print hash with ANSI colors to console.

fcuk.youPretty(hash);
// Outputs colorized terminal output with highlighted vibes

Features

Deterministic - Same inputs always produce same output
Scattered Tweaks - Vibes are character-scattered, hard to find
XOR Encoding - Uses XOR cipher for encoding
Default Formatting - mixedCase + l33t by default
No Storage - Algorithm is stateless
Browser & Node.js - Works everywhere

Format Examples

Input:

fcuk.you({
  secret: 'admin_access',
  vibes: ['fcuk', '69', 'awesome']
})

Output (formatted with mixedCase + l33t):

4A7F2c9E1F2C8u9K3B4D6F8a9S7E2c1R3e2Tfcuk4a2f3b5c6d7e8f
  • Mixed case: 4A7F2c vs 4a7f2c
  • l33t: 0=O, 1=I, 3=E, 4=A, 5=S, 7=T, 8=B
  • XOR encoded secret after fcuk

Use Cases

  • 🎮 Game token generation with easter eggs
  • 🔐 Obfuscated user tokens (NOT for encryption)
  • 🎨 Creative URL/ID generation
  • 🎯 Puzzle/game mechanics
  • 🕵️ Hidden message encoding

Browser Usage

<script src="https://unpkg.com/[email protected]/dist/fcuk.min.js"></script>
<script>
  const hash = fcuk.you({ secret: 'hello' });
  console.log(hash);
</script>

Not For Cryptography

⚠️ This library is for obfuscation only, not encryption. Do not use for securing sensitive data or passwords.

License

MIT - Feel free to use and modify!

Contributing

Issues and PRs welcome at https://github.com/yourusername/fcuk.js


Made with 💀 and chaos