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

7.6.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

18,657

Version

7.6.2

License

MIT

Unpacked Size

89.8 kB

Total Files

17

Last publish

Collaborators

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