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

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

28,966

Version

8.0.0

License

MIT

Unpacked Size

13.4 kB

Total Files

28

Last publish

Collaborators

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