@ew-did-registry/did
Advanced tools
Weekly downloads
Changelog
0.8.0 (2022-09-29)
Readme
The DID Package provides a clean interface which allows the client to store and use different DIDs depending on the network. The did
will be aware of the different network and method syntax.
We are working on making the
did
package more useful.
// Instantiate the DID holder
const DID = new IDID();
// Setting the DID; network is inferred from the DID
DID.set(energyDid);
// Setting the DID by explicitly providing the network
DID.set(Networks.EnergyWeb, energyAddress);
// Retrieving current DID for the specified network.
// Returns either the respective DID or undefined
const id = DID.get(Networks.EnergyWeb);
FAQs
The interface of a Decentralised Identity
The npm package @ew-did-registry/did receives a total of 734 weekly downloads. As such, @ew-did-registry/did popularity was classified as not popular.
We found that @ew-did-registry/did demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.