Formfeed packages
Client libraries, command line tools and integrations for Formfeed, the API
for generating PDFs and images from templates. Documentation lives at
docs.formfeed.dev.
| Package |
Registry |
What it is |
@formfeed/sdk |
npm |
TypeScript client: renders, batches, templates, webhooks. No dependencies, Web APIs only |
formfeed |
PyPI |
Python client, sync and async |
formfeed/sdk |
Packagist |
PHP client over any PSR-18 HTTP client |
formfeed/laravel |
Packagist |
Laravel package: settings from .env, the Formfeed facade, a webhook middleware and Formfeed::fake() for tests |
github.com/formfeed-dev/formfeed-go |
pkg.go.dev |
Go client on the standard library alone, context.Context first, a net/http webhook handler |
formfeed |
RubyGems |
Ruby client on the standard library alone, Ruby 3.3 and newer |
formfeed |
npm |
CLI: templates as files, offline preview and validation, renders through the API |
@formfeed/engine |
npm |
The template engine (Jinja2, Liquid, Handlebars) the API and the editor use |
@formfeed/devkit |
npm |
Template folders, project config and local rendering |
@formfeed/testing |
npm |
Vitest and Jest matchers for templates |
@formfeed/mcp |
npm |
Model Context Protocol server for AI agents |
n8n-nodes-formfeed |
npm |
n8n community node |
Every npm package is built and published from this repository by
GitHub Actions with
provenance, the Python package with
trusted publishing and the Ruby gem with RubyGems'
trusted publishing, so each release can be traced
to the commit and workflow run it came from. Packagist reads the PHP packages from repositories of their
own, formfeed-php and
formfeed-laravel, which are tagged with every
release. The Go module lives in a repository of its own as well,
formfeed-go, which is tagged with every release and
which Go's module proxy reads.
Development
Node 22 or newer and pnpm (the version in package.json, corepack enable picks it up):
pnpm install
pnpm nx run-many -t lint test --exclude sdk-python,sdk-php,sdk-laravel,sdk-dotnet,sdk-java,sdk-go,sdk-ruby # TypeScript packages
pnpm nx run-many -t bundle smoke # build, pack and try every npm package
pnpm nx run-many -t lint test -p sdk-php sdk-laravel # PHP packages, in Docker
pnpm nx run-many -t lint test -p sdk-dotnet sdk-java sdk-go sdk-ruby # .NET, Java, Go and Ruby, in Docker
cd packages/sdk-python && pip install pytest httpx pydantic && python -m pytest -q
This repository is generated from Formfeed's main repository, where the packages are developed
together with the API they talk to. See CONTRIBUTING.md for how issues and pull
requests are handled.
Licence
MIT, see LICENSE. Bundled third-party code keeps its own licence; the CLI and MCP packages
list it in THIRD_PARTY_LICENSES.md.