gettodaysdate
v1.0.62
Published
Return a fixed ISO date.
Readme
gettodaysdate
Returns a fixed ISO date.
const { getTodaysDate } = require('gettodaysdate');
getTodaysDate(); // '2026-10-25'Why?
This is a PoC and a middle finger to NPM's change to force passkeys for publishing on everyone, because they think their users are too dumb.
Sure, there have been supply chain attacks, yeah tokens got leaked, whatever. That's the users fault. I mean you guys already blocked scripts and git etc. by default on npm 12, but forcing either passkeys or OIDC on a few providers is dumb.
Well, I will use my own passkeys, via keys I generate with OpenSSL! And guess what, since I can set the credentialId to any 32 bytes I want, I will have some fun with it:
How?
Review the SETUP.md doc on how to register a custom passkey via a shim, and the release folder for how the publishing works via puppeteer + custom passkeys
AI Use
This was primarily done via some human webauthn research, and then prompting an LLM to help write shims, docs and the rest.
License
WTFPL
