devin ivy 13aead171c
Support shallow builds and sourcemaps ()
* Enable all modules to be built shallowly, externalizing their deps

* Setup shallow builds to modify package.json main

* Hoist update-main-to-dist to separate call, fix lex-cli and plc shallow builds

* Generate sourcemaps during build

* Tidy

* Hoist new build deps up to root
2022-11-15 19:24:58 -05:00
..
2022-11-07 14:33:33 -06:00
2022-10-18 12:21:59 -05:00
2022-10-18 12:21:59 -05:00

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