doipjs/examples/test-service-provider.js
2023-07-09 12:03:51 +02:00

9 lines
No EOL
317 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')
console.log(sp);
}
main()