has-did-method

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i has-did-method

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.17 kB

Total Files

5

Last publish

Collaborators

  • cckelly21