Skip to main content
The Deno 2 Release Candidate is here
Learn more

SHARKEY.TS 🦈 :sauropod:

GitHub CI

A Typescript library for Deno to interact with Sharkey, a Mastodon alternative. 🦈 :sauropod:

ABOUT 📚

This library for Deno is there to interact with Sharkey from Typescript. This repository contains the source code for this library.

USAGE 🔨

APIs

Documentation for this library can be found here.

You can import any of Sharkey.ts’s APIs by adding the following line to your Typescript file(s):

import { functionName } 'https://deno.land/x/sharkey/mod.ts';

functionName represents any of the function signatures present in the library.

EXAMPLE

Please read the unit tests located in mod_test.ts to get a feel for the APIs Sharkey.ts provides.

CHANGELOG ✒️

Version 0.1.0

Version 0.2.0

  • Added the userExists function.
  • Added the getUserFromToken function.
  • More detailed, improved documentation.
  • Improved the way test variables are handled.
  • Renamed the src/checker.ts module to src/checkers.ts.

NOTE 📜

  • Sharkey.ts 🦈 :sauropod: by Alexander Abraham :black_heart: a.k.a. “Angel Dollface” :dolls: 🎀
  • Licensed under the DSL v1.