A Deno-compatible AT Protocol OAuth client that serves as a drop-in replacement for @atproto/oauth-client-node
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add npm badge and install instructions to README

+7 -9
+7 -9
README.md
··· 2 2 3 3 [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/tijsteulings) 4 4 5 + [![JSR](https://jsr.io/badges/@tijs/oauth-client-deno)](https://jsr.io/@tijs/oauth-client-deno) 6 + [![npm](https://img.shields.io/npm/v/@tijs/oauth-client-deno)](https://www.npmjs.com/package/@tijs/oauth-client-deno) 7 + 5 8 A **Deno-compatible** AT Protocol OAuth client built specifically for Deno environments using Web Crypto API. Built to solve crypto compatibility issues between Node.js-specific implementations and Deno runtime environments. 6 9 7 10 ## 🎯 Opinionated Design ··· 26 29 ## 🚀 Installation 27 30 28 31 ```bash 29 - # Using JSR (recommended) 30 - deno add @tijs/oauth-client-deno 32 + # npm 33 + npm install @tijs/oauth-client-deno 31 34 32 - # Or import directly from JSR 33 - import { OAuthClient, MemoryStorage } from "jsr:@tijs/oauth-client-deno"; 34 - 35 - # Pin to a specific version (optional) 36 - import { OAuthClient, MemoryStorage } from "jsr:@tijs/oauth-client-deno@^0.1.2"; 35 + # Deno 36 + deno add jsr:@tijs/oauth-client-deno 37 37 ``` 38 - 39 - > **Note**: This package is designed for JSR and includes proper version pinning. Check the [CHANGELOG](CHANGELOG.md) for version history. If the package hasn't been published to JSR yet, it can be published using `deno publish` from this repository. 40 38 41 39 ## 🔄 vs @atproto/oauth-client-node 42 40