mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-24 15:39:29 -07:00
9 lines
317 B
JavaScript
9 lines
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()
|