
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@or13/demojid
Advanced tools
RIP base64url (no pad)
Do not stand at my grave and weep
I am not there. I do not sleep.
I am a thousand winds that blow.
I am the diamond glints on snow.
I am the sunlight on ripened grain.
I am the gentle autumn rain.
When you awaken in the morning’s hush
I am the swift uplifting rush
Of quiet birds in circled flight.
I am the soft stars that shine at night.
Do not stand at my grave and cry;
I am not there. I did not die.
npm i @or13/demojid --save
const demojid = require("@or13/demojid");
const encoded = demojid.encode(
"did:key:z6MkpBcRnDUxz34RyvGFeBV6okX8VHABansfJ8Ya8wohRouy",
{
contentType: "application/did+json",
}
);
// "did:key:🐅🦬🌰🐙🦤🌲🪰🐌🦢🌴🐜🦎🐅🦧🦓🐌🐍🐊🌿🌾🪱🌲🐝🦬🦉🐙🐞🐪🐝🍀🌱🌲🦂🦢🦚🐬🌷🐪🦗🦂🐪🐢🦉🐠🐌🦉🐸🐍"
const message =
"eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa3RpU3pxRjlrcXdkVThWa2RCS3g1NkVZelhmcGduTlBVQUd6bnBpY05pV2ZuI3o2TWt0aVN6cUY5a3F3ZFU4VmtkQkt4NTZFWXpYZnBnbk5QVUFHem5waWNOaVdmbiJ9.eyJpc3MiOiJkaWQ6a2V5Ono2TWt0aVN6cUY5a3F3ZFU4VmtkQkt4NTZFWXpYZnBnbk5QVUFHem5waWNOaVdmbiIsInN1YiI6ImRpZDpleGFtcGxlOjEyMyIsInZjIjp7IkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIiwiaHR0cHM6Ly93M2lkLm9yZy92Yy1yZXZvY2F0aW9uLWxpc3QtMjAyMC92MSIsImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sImlkIjoidXJuOnV1aWQ6NDM0MzgxNzYtNDlkZi00M2I0LWE0ODMtMzQ3Mjk1NjQ3YTM5IiwidHlwZSI6WyJWZXJpZmlhYmxlQ3JlZGVudGlhbCJdLCJpc3N1ZXIiOiJkaWQ6a2V5Ono2TWt0aVN6cUY5a3F3ZFU4VmtkQkt4NTZFWXpYZnBnbk5QVUFHem5waWNOaVdmbiIsImlzc3VhbmNlRGF0ZSI6IjIwMTAtMDEtMDFUMTk6MjM6MjRaIiwiY3JlZGVudGlhbFN0YXR1cyI6eyJpZCI6Imh0dHBzOi8vYXBpLmRpZC5hY3Rvci9yZXZvY2F0aW9uLWxpc3RzLzEuanNvbiMwIiwidHlwZSI6IlJldm9jYXRpb25MaXN0MjAyMFN0YXR1cyIsInJldm9jYXRpb25MaXN0SW5kZXgiOjAsInJldm9jYXRpb25MaXN0Q3JlZGVudGlhbCI6Imh0dHBzOi8vYXBpLmRpZC5hY3Rvci9yZXZvY2F0aW9uLWxpc3RzLzEuanNvbiJ9LCJjcmVkZW50aWFsU3ViamVjdCI6eyJpZCI6ImRpZDpleGFtcGxlOjEyMyJ9fSwianRpIjoidXJuOnV1aWQ6NDM0MzgxNzYtNDlkZi00M2I0LWE0ODMtMzQ3Mjk1NjQ3YTM5IiwibmJmIjoxMjYyMzczODA0fQ.jkWiBFUGAnHe95dO_cybV81MoJYHKMA2i27uu-HlkddbSV1y3Jj7H0kdPqAJT2GIh6B4ea_X6fNu_gGw4tdoDQ";
const options = {
contentType: "application/jwt",
};
const encoded = demojid.encode(message, options);
// "🪱🐍🌷🐠🦟🌿🪰🐡🦞🐡🌷🌾🪳🌵🐌🐛🦑🦋🌻🦚🌻🦆🦜🦤🪳🌳🌻🦬🌻🦆🐌🦤🪳🌴🦤🦩🪳🐞🐙🦬🪱🦈🪳🦀🦂🦧🐌🦤🐜🦧🦤🦎🐌🦈🦅🦩🪰🐞🐋🐙🐝🐛🐠🪲🦂🦍🐌🌳🦋🦧🐟🐒🦀🐙🐝🪳🪱🦅🐠🦆🪰🌿🐋🐸🐛🦅🌲🐝🦑🐜🐋🦬🦟🦢🌲🦤🦗🐆🦌🦤🐝🦍🪳🐸🌻🦧🦉🦍🐛🪲🦜🐆🦂🐝🦀🦬🪰🐜🦗🦌🦂🦧🌾🦧🪳🌾🐜🦓🐝🦆🦜🐙🦑🐙🦜🦓🦀🐛🪳🌾🪲🐞🦤🦗🪳🦢🌲🦢🦟🐙🦌🦑🐝🐜🌾🍀🪱🦆🦌🐢🦂🪲🦀🦞🦂🐝🐋🦆🦟🐡🌷🦙.🪱🐍🌷🦤🪰🦧🌰🐡🦞🐡🌷🐙🦂🪲🦑🦬🦂🦍🐝🦌🦞🦢🦉🦍🐛🪲🦜🐆🦂🐝🦀🦬🪰🐜🦗🦌🦂🦧🌾🦧🪳🌾🐜🦓🐝🦆🦜🐙🦑🐙🦜🦓🦀🐛🪳🌾🪲🐞🦤🦗🪳🦢🌲🦢🦟🐙🦌🦑🐝🐜🌾🍀🪱🦆🦌🐢🦂🪲🦀🦞🦂🐝🐋🦆🦟🐡🌻🦚🌻🦢🦀🐒🦗🐡🌻🦬🌻🦆🐌🦤🪳🌴🦤🦅🪱🌿🌾🦜🪰🌿🦎🦅🦞🦈🌵🐍🌰🐍🌻🦚🌻🦢🪳🦈🌻🦈🦤🐐🌻🐙🌲🦈🦟🦍🦌🐆🪳🐞🐠🐆🌻🦈🦤🦟🌻🦆🐠🐆🐋🍀🌲🐅🦞🐡🐪🐊🐋🦧🐋🦧🍄🦢🪰🐅🍄🦆🦙🐍🪳🐍🐪🐍🌰🌴🌵🦓🍄🦍🦀🐍🪳🪲🐌🦅🦟🦢🐌🦤🦗🪲🦎🐅🍄🦧🦗🦎🌻🐡🐢🐡🦂🍀🐌🐆🪰🍀🌰🦬🍄🐍🦙🦧🌰🦍🦅🐙🍄🦆🦙🐍🪳🐍🦙🦍🦗🐍🐒🐍🪳🐞🪳🐊🦗🦍🌾🐆🦂🪲🦙🐸🍄🪲🦎🦤🪰🦧🦑🦜🌰🦈🌱🐍🌰🌳🦙🦍🌰🦋🌻🦚🌻🦆🐠🐆🐋🍀🌲🐅🦞🐡🐪🐊🐋🦧🐋🦧🍄🦢🪰🐅🍄🦆🦙🐍🪳🐍🐪🐍🌰🌴🌵🦓🍄🦍🦀🐍🪳🪲🐌🦅🦟🦢🐌🦤🦗🪲🦎🐅🍄🦧🦗🦎🌻🦅🐆🦚🌻🦆🦅🐙🌻🦈🦉🐡🐋🐞🌷🐸🦞🦢🐝🐒🦂🪲🦑🦬🦀🌴🌰🐆🌰🐅🐟🦎🦀🐅🦗🦜🦀🌴🦅🐙🪳🐡🐆🐆🌰🦍🌻🐆🍄🪲🌵🐆🦞🌴🌰🦜🌰🐅🦑🦧🌰🦈🐙🐒🦀🦈🦑🦧🦗🐛🌰🦌🌻🐡🐢🐡🐋🍀🦅🐢🪳🦋🌻🦬🪲🐍🌷🪲🪳🐞🌷🦤🪳🦆🦅🐠🦗🦆🦎🦅🦑🦧🌷🦅🪳🌿🐝🐸🐋🌿🦅🐠🦟🌳🌷🐋🍄🌳🌷🦤🪰🦧🦀🐒🪳🐞🌻🐡🦞🐡🌷🐙🦂🪲🦑🦬🦂🦍🐝🦌🦞🦢🦉🦍🐛🪲🦜🐆🦂🐝🦀🦬🪰🐜🦗🦌🦂🦧🌾🦧🪳🌾🐜🦓🐝🦆🦜🐙🦑🐙🦜🦓🦀🐛🪳🌾🪲🐞🦤🦗🪳🦢🌲🦢🦟🐙🦌🦑🐝🐜🌾🍀🪱🦆🦌🐢🦂🪲🦀🦞🦂🐝🐋🦆🦟🐡🌻🦚🌻🦆🦅🐅🪰🦧🐝🐠🦟🦆🦀🦅🐌🌿🌾🐆🪳🦋🌻🦬🌻🦈🌻🐢🌰🐛🌱🦜🌰🌴🌵🦜🌰🌴🌾🐜🌰🐛🐙🦬🌰🦈🌰🦬🌰🦈🐌🦂🌻🐡🐢🐡🦗🦧🌷🦅🪳🌿🐝🐸🐋🌿🦅🐠🦟🌾🦀🐆🦗🐞🐌🐒🪰🐍🌻🦬🪱🐍🌷🦤🪳🌳🌻🦬🌻🦆🐠🐆🐋🍀🌲🐅🦞🐡🐪🐊🦗🐞🌲🦤🍄🦆🐌🦤🪳🌳🦌🐠🦗🦧🐌🐊🪰🐡🦙🐍🪳🐞🪳🐊🦗🦍🌾🐆🦂🪲🦙🐸🍄🪲🦎🦤🪰🦧🐌🐅🍄🐅🌵🐸🦂🦢🦀🐊🦟🐡🌰🐢🌻🐡🐢🐡🐋🍀🦅🐢🪳🦋🌻🦬🌻🦅🌷🦅🐋🦆🦙🦈🦗🐞🐌🦤🦟🦍🦌🌰🦂🐞🦀🐆🌰🦈🌱🐍🌰🌾🦀🐆🦗🐞🐌🐒🪰🐍🌻🦚🌻🦢🌷🦅🐋🦆🦙🦈🦗🐞🐌🦤🦟🦍🦌🌰🦂🐞🦀🐆🦋🪲🦌🐙🪳🐞🐟🐡🦞🦈🌱🦚🌻🦢🌷🦅🐋🦆🦙🦈🦗🐞🐌🦤🦟🦍🦌🌰🦂🐞🦀🐆🦑🦧🌷🦅🪳🌿🐝🐸🐋🌿🦅🐠🦟🌳🌻🦬🌻🦆🐠🐆🐋🍀🌲🐅🦞🐡🐪🐊🦗🐞🌲🦤🍄🦆🐌🦤🪳🌳🦌🐠🦗🦧🐌🐊🪰🐡🦙🐍🪳🐞🪳🐊🦗🦍🌾🐆🦂🪲🦙🐸🍄🪲🦎🦤🪰🦧🐌🐅🍄🐅🌵🐸🦂🦢🦀🐊🦟🐡🌷🦙🍄🌳🌷🦈🪰🦆🐝🐙🪳🪲🦌🐆🦂🪲🌾🦚🐜🦧🐝🐡🦂🦆🐝🦈🐋🌳🌻🦬🪱🐍🌷🦤🪳🌳🌻🦬🌻🦆🐌🦤🪳🌴🦤🦅🪱🌿🌾🦜🪰🌿🦎🦅🦞🦈🌵🐍🌰🐍🌷🦙🐬🦋🐢🐡🦂🦢🐌🦤🌻🦈🦉🐡🐋🐞🌷🐸🦞🦢🐝🐒🦂🪲🦑🦬🦀🌴🌰🐆🌰🐅🐟🦎🦀🐅🦗🦜🦀🌴🦅🐙🪳🐡🐆🐆🌰🦍🌻🐆🍄🪲🌵🐆🦞🌴🌰🦜🌰🐅🦑🦧🌰🦈🐙🐒🦀🦈🦑🦧🦗🐛🌰🦌🌻🐡🐢🐡🦟🦆🌷🦆🌻🦈🦉🦎🌰🦈🦗🐍🌰🐅🪰🐅🦞🌴🌱🐆🐬🦑.🦈🐙🪲🐡🌲🌾🐜🌿🌱🦢🍀🪱🦙🦌🐋🦞🐇🪰🐍🦟🐝🐪🐒🌰🦉🌷🦗🍀🍁🌰🌱🦍🐡🦍🐐🐸🐸🦒🍀🦅🐙🐋🐋🦟🦋🐝🐒🐍🦧🌷🦈🐐🍀🐆🐙🐋🦐🪶🌱🌷🐛🦍🌿🌻🐠🦬🌲🦓🪱🦂🐇🐞🦬🐬🦀🐸🐇🐟🌿🐢🦓🦜🐋🦉🌴🦑"
const message = "hello world";
const encoded = demojid.encode(message);
// expect(encoded).toBe("🦂🌿🐝🦚🦟🌿🐪🐟🐋🦍🦙🐍🦟🌿🦑");
const decoded = demojid.decode(encoded);
// expect(decoded).toBe(message);
FAQs
RIP `base64url (no pad)`
We found that @or13/demojid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.