Skip to content

UltiRequiem/tixte-node

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

npm i @ultirequiem/tixte # yarn add @ultirequiem/tixte

Usage

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!

Docs

Auto generated documentation using TypeDoc 💕

For examples check the next section 🚀

https://tixte-wrapper.netlify.app

Using @ultirequiem/tixte

Are you using this package? Add it here!

  • Sergif - Netlify Functions - Netlify x Hashnode 2022 Hackathon

  • Piolafood - Next.js Endpoints - First Buildergroop Hackathon

Licence

Licenses under the MIT Licence.

About

🍬 Tixte Developer API Wrapper

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •