Introducing "atlassian-forge-axios" – Axios-like HTTP client for Atlassian Forge

Hi everyone :waving_hand:

I’ve just released a small open-source utility for the Forge ecosystem called atlassian-forge-axios.

While building Forge apps, I noticed that working directly with @forge/api often leads to repeated boilerplate:

  • manual fetch

  • res.json() everywhere

  • inconsistent error handling

  • less readable code in larger apps

So I built atlassian-forge-axios to provide an Axios-like developer experience, while still respecting Forge’s security model.

What it does

  • Axios-style methods: get, post, put, patch, delete

  • Works with:

    • Jira REST APIs

    • Confluence REST APIs

    • External APIs (api.fetch)

  • Automatic JSON parsing

  • Axios-style error handling

  • TypeScript-first

  • Zero runtime dependencies

:warning: Important Forge note

Due to Forge security requirements, route must still be used at the call site for Jira and Confluence APIs.
This is a Forge limitation, not something a library can bypass — the README explains this clearly with examples.

:package: Install

npm install atlassian-forge-axios

Links

I’d really appreciate feedback from the community :raising_hands:
Suggestions, issues, and PRs are welcome!.

Thanks!

1 Like