has-did-method
v0.1.0
Published
Helper module for checking the presence of methods within a DID URI.
Downloads
12
Maintainers
Readme
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