0.1.0 • Published 6 years ago
has-did-method v0.1.0
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
0.1.0
6 years ago