Skip to content

AraBlocks/has-did-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

has-did-method

Helper module for checking the presence of methods within a DID URI.

Installation

$ npm install has-did-method

Example Usage

const hasDIDMethod = require('has-did-method')
let exists = hasDIDMethod('did:ara:1234') // returns true
exists = hasDIDMethod('1234') // returns false

Tests

$ npm run test

See Also

License

MIT

About

Helper module for checking the presence of methods within a DID URI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published