![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.
dat-encoding
Advanced tools
See abstract-encoding and compact-encoding for similar functionality.
More info on active projects and modules at dat-ecosystem.org
Dat's way of encoding and decoding dat links.
var encoding = require('dat-encoding')
var link = '6161616161616161616161616161616161616161616161616161616161616161'
var buf = encoding.decode(link)
console.log('%s -> %s', link, buf)
console.log('%s -> %s', buf, encoding.encode(buf))
Encode buf
into a hex string. Throws if buf
isn't 32 bytes of length.
If buf
is already a string, checks if it's valid and returns it.
Decode str
into its binary representation. Also supports dat://
and dat.com/
links. Throws if the raw link isn't 64 bytes of base64.
If str
is already a buffer, checks if it's valid and returns it.
MIT
FAQs
Encode and decode Dat links
The npm package dat-encoding receives a total of 91 weekly downloads. As such, dat-encoding popularity was classified as not popular.
We found that dat-encoding demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.