update dependencies and devDependencies
[squeep-indieauth-helper] / README.md
1 # IndieAuth Helper
2
3 Just some abstractions for interacting with IndieAuth sites.
4
5 Notable methods on the Communication class:
6
7 - `static async generatePKCE(length)`
8 Create a code and verifier for use in an IndieAuth transaction.
9
10 - `async fetchProfile(urlObject)`
11 Retrieve profile information from an endpoint.
12
13 - `async fetchClientIdentifier(urlObject)`
14 Retrieve client identifier information from an endpoint.
15
16 - `async fetchMicroformat(urlObject)`
17 Retrieve all mf2 information from an endpoint.
18
19 - `async fetchJSON(urlObject)`
20 Retrieve json from an endpoint.