![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.
nahmii-ethereum-address
Advanced tools
A small utility for parsing, validating and converting ethereum addresses
This is a small utility library for parsing, validating and converting an ethereum address.
npm install nahmii-ethereum-address
Creating a new address from a string:
const EthereumAddress = require('nahmii-ethereum-address');
let addr = EthereumAddress.from('0x0011223344556677889900112233445566778899');
if (!addr)
console.log('Address is not valid');
The constructor can be invoked with either a 20 byte Buffer or an already existing EthereumAddress instance.
Invalid input will throw a TypeError
.
The static from
class method is able to construct an EthereumAddress from
strings or BSON Binary objects.
It will either return a new instance of an EthereumAddress or null
if
conversion was not possible.
This method will return a hexadecimal string representation of the address.
This method will return a Buffer containing the address.
This method will return a BSON Binary containing the address.
FAQs
A small utility for parsing, validating and converting ethereum addresses
The npm package nahmii-ethereum-address receives a total of 1 weekly downloads. As such, nahmii-ethereum-address popularity was classified as not popular.
We found that nahmii-ethereum-address demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.