https://github.com/ultirequiem/tixte-node
🍬 Tixte Developer API Wrapper
https://github.com/ultirequiem/tixte-node
hackathon tixte typescript wrapper wrapper-api
Last synced: 18 days ago
JSON representation
🍬 Tixte Developer API Wrapper
- Host: GitHub
- URL: https://github.com/ultirequiem/tixte-node
- Owner: UltiRequiem
- License: mit
- Created: 2022-02-25T01:40:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T17:44:07.000Z (almost 2 years ago)
- Last Synced: 2025-06-07T15:58:44.172Z (24 days ago)
- Topics: hackathon, tixte, typescript, wrapper, wrapper-api
- Language: TypeScript
- Homepage: https://tixte-wrapper.netlify.app
- Size: 46.9 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Tixte Wrapper
> The best Tixte wrapper around
This package was done because I wanted to use the Tixte API in a hackathon,
there were already 2 packages that do the same, but any of them were working
correctly 😔At the end this package ended up with more features, better documentation and
examples!Install
```sh
npm i @ultirequiem/tixte # yarn add @ultirequiem/tixte
```Usage
```ts
const tixteClient = new TixteClient(process.env.TIXTE_API_KEY, {
defaultURL: "sergif.likes.cash",
});const upload = async (event) => {
const { data } = await tixteClient.uploadFile(
Buffer.from(event.body!, "base64"),
{
extension: "gif",
},
);return data;
};
```[Check a real word example!](https://github.com/UltiRequiem/sergif/tree/main/src/api)
## Docs
Auto generated documentation using TypeDoc :two_hearts:
For examples check the next section 🚀
https://tixte-wrapper.netlify.app
## Using `@ultirequiem/tixte`
Are you using this package? Add it here!
- [Sergif](https://sergif.ultirequiem.com) - Netlify Functions - **Netlify x
Hashnode 2022 Hackathon**- [Piolafood](https://github.com/UltiRequiem/piolafood) - Next.js Endpoints -
**First Buildergroop Hackathon**## Licence
Licenses under the MIT Licence.