Merge branch 'develop' of https://codeberg.org/mkljczk/pl-fe into develop
This commit is contained in:
@ -38,8 +38,8 @@ For unsupported projects, it falls back to a basic feature set, though every met
|
||||
|
||||
## Projects using `pl-api`
|
||||
|
||||
- [Nicolium](https://codeberg.org/mkljczk/nicolium/src/branch/develop/packages/nicolium) is a web client for Mastodon-compatible servers forked from Soapbox. It uses `pl-api` for API interactions.
|
||||
- [`pl-hooks`](https://codeberg.org/mkljczk/nicolium/src/branch/develop/packages/pl-hooks) is a work-in-progress library utilizing `pl-api`.
|
||||
- [Nicolium](https://codeberg.org/nicolium/nicolium/src/branch/develop/packages/nicolium) is a web client for Mastodon-compatible servers forked from Soapbox. It uses `pl-api` for API interactions.
|
||||
- [`pl-hooks`](https://codeberg.org/nicolium/nicolium/src/branch/develop/packages/pl-hooks) is a work-in-progress library utilizing `pl-api`.
|
||||
|
||||
If you are using `pl-api` in your project, please open a pull request with a link to the project.
|
||||
|
||||
|
||||
@ -2,13 +2,15 @@
|
||||
|
||||
> A JavaScript library for interacting with Mastodon API-compatible servers
|
||||
|
||||
! for humans: this file is not actually maintained, i needed it once for a hackathon and didn't touch it since. i prefer writing documentation for humans lol
|
||||
|
||||
## Overview
|
||||
|
||||
pl-api is a TypeScript/JavaScript library that provides a type-safe client for interacting with Mastodon API-compatible servers. It supports 12 independent Mastodon API implementations and 5 forks, abstracting implementation differences between various backends.
|
||||
|
||||
- Version: 1.0.0-rc.94
|
||||
- License: AGPL-3.0-or-later
|
||||
- Homepage: https://codeberg.org/mkljczk/nicolium/src/branch/develop/packages/pl-api
|
||||
- Homepage: https://codeberg.org/nicolium/nicolium/src/branch/develop/packages/pl-api
|
||||
- Documentation: https://pl.mkljczk.pl/pl-api-docs
|
||||
- NPM package: https://www.npmjs.com/package/pl-api
|
||||
|
||||
@ -95,8 +97,8 @@ page1.items.forEach(account => console.log(account.username));
|
||||
|
||||
## Projects using pl-api
|
||||
|
||||
- Nicolium - Web client for Mastodon-compatible servers (https://codeberg.org/mkljczk/nicolium)
|
||||
- **pl-hooks** - React hooks library for Mastodon APIs (https://codeberg.org/mkljczk/nicolium/src/branch/develop/packages/pl-hooks)
|
||||
- Nicolium - Web client for Mastodon-compatible servers (https://codeberg.org/nicolium/nicolium)
|
||||
- **pl-hooks** - React hooks library for Mastodon APIs (https://codeberg.org/nicolium/nicolium/src/branch/develop/packages/pl-hooks)
|
||||
|
||||
## Development
|
||||
|
||||
@ -159,8 +161,8 @@ stream.listen((event) => {
|
||||
|
||||
## Links
|
||||
|
||||
- Repository: https://codeberg.org/mkljczk/nicolium
|
||||
- Issues: https://codeberg.org/mkljczk/nicolium/issues
|
||||
- Repository: https://codeberg.org/nicolium/nicolium
|
||||
- Issues: https://codeberg.org/nicolium/nicolium/issues
|
||||
- NPM package: https://www.npmjs.com/package/pl-api
|
||||
- API documentation: https://pl.mkljczk.pl/pl-api-docs
|
||||
- Mastodon API docs: https://docs.joinmastodon.org
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "pl-api",
|
||||
"version": "1.0.0-rc.99",
|
||||
"homepage": "https://codeberg.org/mkljczk/nicolium/src/branch/develop/packages/pl-api",
|
||||
"homepage": "https://codeberg.org/nicolium/nicolium/src/branch/develop/packages/pl-api",
|
||||
"bugs": {
|
||||
"url": "https://codeberg.org/mkljczk/nicolium/issues"
|
||||
"url": "https://codeberg.org/nicolium/nicolium/issues"
|
||||
},
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://codeberg.org/mkljczk/nicolium.git"
|
||||
"url": "git+https://codeberg.org/nicolium/nicolium.git"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
@ -49,7 +49,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/http-link-header": "^1.0.7",
|
||||
"@types/node": "^25.5.0",
|
||||
"@types/node": "^25.3.5",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@vitest/coverage-v8": "4.1.0",
|
||||
"oxfmt": "^0.40.0",
|
||||
@ -58,7 +58,7 @@
|
||||
"typedoc-material-theme": "^1.4.1",
|
||||
"typedoc-plugin-valibot": "^1.0.0",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.3.1",
|
||||
"vite": "^8.0.0",
|
||||
"vite-plugin-dts": "^4.5.4",
|
||||
"vitest": "^4.1.0",
|
||||
"ws": "^8.19.0"
|
||||
|
||||
Reference in New Issue
Block a user