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