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

8.4.1 • 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

9,977

Version

8.4.1

License

MIT

Unpacked Size

13.4 kB

Total Files

28

Last publish

Collaborators

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