Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
A unique client ID generator for browser applications
biri
gives you a unique ID for a browser application. The ID is generated per computer, and doesn't change unless the MAC address of the computer changes. For the web applications that have to use client-side ID generation and that struggle with private browser windows and clearing application storage, biri
offers a unique solution and gives you a static ID per computer.
The primary use of biri
is applications built for anonymous users where one wants to ensure the uniqueness of a user. Traditionally, backends rely on IP addresses and similar techniques, however this proves challenging for users within the same network.
biri
distinguishes anonymous users and returns a unique ID for each user.
biri
is dual licensed. The default license is GPL and the usage details are outlined in LICENSE.
If you are a commercial entity, you can purchase a non-GPL license which will give you rights to use it commercially without sharing source code. Please contact the authors for licensing details.
Using npm:
$ npm install biri
Using jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/biri/dist/biri.min.js"></script>
Using unpkg CDN:
<script src="https://unpkg.com/biri/dist/biri.min.js"></script>
In systems that use webpack or a similar bundler:
const biri = require('biri')
const uniqueId = await biri() // the returned ID will be unique per computer
In the browser:
<script src="https://unpkg.com/biri/dist/biri.js"></script>
<script>
const uniqueId = await biri() // the returned ID will be unique per computer
</script>
GNU GENERAL PUBLIC LICENSE Version 3
See LICENSE for details.
FAQs
A unique, static client ID generator for browser applications
We found that biri 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
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.