Extend your Code steps with thousands of npm and PyPI packages

You can now import public npm (JavaScript) and PyPI (Python) packages in your Code by Zapier steps. Use community-tested libraries for tasks like parsing documents, transforming data, advanced date manipulation, and more!

What does this mean for you?

Third-party package support lets you extend Code by Zapier with libraries from the public npm and PyPI registries. You can:

  • Add packages directly in the Code editor — Search for and add packages by name, with optional version pinning.
  • Import and use packages in your code — Copy the import statement and use the package in your JavaScript or Python code.
  • Edit or update packages — Change the package name or version at any time to fix compatibility issues or pin a specific version.

Things to know

  • Only public packages from npm (JavaScript) and PyPI (Python) are supported. Private registries are not supported.
  • Only ESM (ECMAScript Module) JavaScript packages are supported. CommonJS (CJS) packages will not work.
  • Native modules that require compiled binaries or system-level access are not supported.
  • Package install and code execution have separate time limits per run. Execution time limits vary by plan. Install time limits are 120 seconds for Enterprise and 30 seconds for all other paid plans.
  • Zapier does not scan packages for security vulnerabilities. Review the package's security posture before using it.

For full setup steps, learn how to use third-party packages in Code steps.

Was this article helpful?
0 out of 0 found this helpful