@redwoodjs/context
TypeScript icon, indicating that this package has built-in type declarations

8.4.2 • Public • Published

Context

About

This package contains code for the global context used on the API side of a Redwood application. It's automatically available in services, auth functions and custom functions.

Serveful environments

In serverful environments with Fastify the global context is injected by a Fastify onRequest hook.

Serverless environments

Babel is used to automatically wrap functions with code that makes the context available.

Readme

Keywords

none

Package Sidebar

Install

npm i @redwoodjs/context

Weekly Downloads

7,054

Version

8.4.2

License

MIT

Unpacked Size

13.4 kB

Total Files

28

Last publish

Collaborators

  • thedavidprice
  • selfteachme
  • joshgmw
  • tobbe
  • desaadi
  • dac09
  • mojombo