
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
Create ๐ Emoji IDs instead of uuids because they are more ๐ง๐ป friendly
const id = require('emoid')
// ๐ is a placeholder for one of 1493 emojis
// The default length is 3
id() // -> ๐๐๐
id(1) // -> ๐
id(2) // -> ๐๐
id(3) // -> ๐๐๐
id(5) // -> ๐๐๐๐๐
// ...
For the default length (3), the probability of a non-unique id is 1/3327970157 If you want to calculate it for a custom length, use the following formula:
const id = require('emoid')
id.calculateProbability(length) // -> Output String
id.calculateProbability(3) // -> Every 3327970157th id is non unique when the length is 3 (thats 3.0048346374038715e-8%)
FAQs
Create ๐ Emoji IDs instead of uuids because they are more ๐ง๐ป friendly
We found that emoid 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 joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.