node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

groupuris

Stories in Ready

NPM Version Build Status

Group URIs

Implementation of the groupuris spec

install:

npm install -g groupuris

commandline:

$ groupuris https://melvincarvalho.com/#me http://csarven.ca/#i
AO8kEF3c6teJ0n8fJ20_JZEosg4klzFF2vQOf-pTzkg

node:

var groupuris = require('groupuris');
 
var agents = ['https://melvincarvalho.com/#me', 'http://csarven.ca/#i']
var turtle = groupuris.agentsToGroup(agents)
var hash = groupuris.toSha256Base64url(turtle)
 
console.log(hash)

license: MIT