0.1.0 • Published 6 years ago

has-did-method v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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