mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
10 lines
No EOL
439 B
JavaScript
10 lines
No EOL
439 B
JavaScript
import * as doip from '../src/index.js'
|
|
|
|
const main = async () => {
|
|
// const sp = doip.ServiceProviderDefinitions.data['activitypub'].processURI('https://fosstodon.org/@yarmo')
|
|
// const sp = doip.ServiceProviderDefinitions.data['discourse'].processURI('https://domain.org/u/alice')
|
|
const sp = doip.ServiceProviderDefinitions.data['sourcehut'].processURI('https://git.sr.ht/~alice/keyoxide_proof')
|
|
console.log(sp);
|
|
}
|
|
|
|
main() |