![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@12core/hyperid-wasm
Advanced tools
A HyperID implementation written in ZZ compiled to WebAssembly (WASM) format
$ npm install @12core/hyperid-wasm
$ wapm install jwerle/hyperid-wasm
const hyperid = require('hyperid-wasm')
hyperid.ready(() => {
const hid = hyperid({ fixedLength: true, startFrom: 1024 })
console.log(hid()) // atd1gpRDT1SJZnaOhdLR5Q/0000001024
console.log(hid()) // atd1gpRDT1SJZnaOhdLR5Q/0000001025
})
generator = hyperid([opts])
Create a new hyperid
generator where opts
is the same arguments
given to the original hyperid.
const generator = hyperid({
fixedLength: false, // use a fixed length counter
startFrom: 0, // initial counter value
urlSafe: false, // use URL safe characters
})
id = generator()
Generate a hyperid from hyperid
context. (See above)
const id = generator()
This original module is ~4x faster than this one.
hyperid generate - variable length (original) x 11,806,789 ops/sec ±1.59% (83 runs sampled)
hyperid generate - variable length (wasm) x 4,179,909 ops/sec ±0.95% (88 runs sampled)
hyperid generate - fixed length (original) x 9,347,663 ops/sec ±3.26% (88 runs sampled)
hyperid generate - fixed length (wasm) x 3,772,629 ops/sec ±2.14% (92 runs sampled)
By default, this module allocates 2 pages of memory for the WebAssembly module.
That is 2 * 64 * 1024
bytes.
This module allows at most 256 pages of memory. That is 256 * 64 * 1024
bytes.
MIT
FAQs
hyperid implementation written in ZZ compiled to WASM format
The npm package @12core/hyperid-wasm receives a total of 3 weekly downloads. As such, @12core/hyperid-wasm popularity was classified as not popular.
We found that @12core/hyperid-wasm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.