0.0.3 • Published 12 months ago
@yupio/atproto-uri v0.0.3
ATP URI API
Usage
import { AtUri } from '@atproto/uri'
const uri = new AtUri('at://bob.com/com.example.post/1234')
uri.protocol // => 'at:'
uri.origin // => 'at://bob.com'
uri.hostname // => 'bob.com'
uri.collection // => 'com.example.post'
uri.rkey // => '1234'
License
MIT
0.0.3
12 months ago