Catalog npm
PACKAGE EXPLORERView in registry

0x7676

npm

this package is likely to be compatible on everything, idk man, havent tested it anywhere else other than nodejs and chrome lmfao

Versions collected9
Direct dependencies0From release 1.4.0
Last observed20 Oct, 17:49 UTC

README

Current package documentation

"0x"+require("0x7676")(4,16).toString(16)

any base update!

this package is likely to be compatible on everything, idk man, havent tested it anywhere else other than nodejs and chrome lmfao

anyways, this is just a package which generates 76 repeating for l digits for base-b.

docs

seventysix(l, b) (Number/BigInt)

args

  • l (Number/BigInt): amount of base-b digits. for example, l=5 would give 5 digits in base-b.
  • b (Number/BigInt): the output's base; if b < 8, returns NaN
  • n (Boolean): enable bigint support (optional, default is false). this option is only here for backwards compatability.

if any of the args is 0 or NaN, the function returns NaN

examples

console.log(seventysix(4, 8))            // should log 4030
console.log(seventysix(4, 10))           // should log 7676
console.log(seventysix(4, 16))           // should log 30326
console.log(seventysix(4, 32))           // should log 235750
console.log(seventysix(4, 76))           // should log 3108026
console.log(seventysix(0, 8))            // should log NaN
console.log(seventysix(4, 0))            // should log NaN
console.log(seventysix(0, 0))            // should log NaN
console.log(seventysix(NaN, 8))          // should log NaN
console.log(seventysix(4, NaN))          // should log NaN
console.log(seventysix(NaN, NaN))        // should log NaN
console.log(seventysix(0, NaN))          // should log NaN
console.log(seventysix(NaN, 0))          // should log NaN
console.log(seventysix(10, 16, true))    // should log 508793615990n

how to import?

browsers

use some cdn like jsdelivr or unpkg, idc, but for these examples im using jsdelivr.

you can use it in a <script> tag:

<script src="https://cdn.jsdelivr.net/npm/0x7676@latest"></script>

nodejs

$ npm i 0x7676
yeah i totally installed it
seventysix = require("0x7676")

es6 imports (extra spicyness)

import seventysix from "https://cdn.jsdelivr.net/npm/0x7676@latest/index.mjs"
// ...or... (assuming we are in an async env)
seventysix = await import("https://cdn.jsdelivr.net/npm/0x7676@latest/index.mjs")

i dont think this will work in node tho but idk u never know

"why does this wretched puke of obusfucated, minimalized and shittified code even work?!?!"

well if you would've looked a bit more, you could've realised that the following math equation is the only thing that powers this package along with suffering and duct tape:

((7b+6)*(b^l))/(bb-1)

the first part, (7b+6), creates the number 76 for base b. lets see how this works: base-10 76, can be represented as 7*10+6. now, replace 10 with b and that's how it works. then, the b^l part. this is like doing 10^2 to get 100 or 10^100 to get a googol (wow!). again, replace 10 with b and we've now got base-b going. then finally, bb-1. the trick to make this whole package going is that (76(10^n))/99 gets you infinite 76s for n length. now, for base 10, 99 can be represented as 10*10-1. after the replacement, we also have base-n.

after running the equation, you may or may not see decimals in the result. this is easily countered by a floor operation which eliminates all decimals.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 9

Collected releases
VersionPublishedDirect dependenciesOpen version
1.4.0Registry latest19 Aug 20250
1.3.013 Jul 20250
1.2.112 Jul 20250
1.2.012 Jul 20250
1.1.311 Jul 20250
1.1.211 Jul 20250
1.1.111 Jul 20250
1.1.011 Jul 20250
1.0.011 Jul 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:67e2c7f1768477ba2d46920aeaf07bd7e58fe8b971272fce3f4b0f3def325c29