0.7.0 • Published 8 months ago

@robcresswell/fastify-jsonapi v0.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@robcresswell/fastify-jsonapi

:warning: :warning: :warning:

You're welcome to use this package, but it's very much in alpha and will likely churn API a lot

:warning: :warning: :warning:

A collection of functions to help you build JSON:API compliant APIs with Fastify

The goal of this package is to be type-safe and provide good interfaces to build APIs against the JSON:API spec. It does not aim to be a holistic solution or framework, only a collection of functions and interfaces. These are generally easier to use in migrations, for example, or easier to hack around if they don't work as expected.

Getting Started

  1. Install the plugin

    npm i @robcresswell/fastify-jsonapi
  2. Register with Fastify

    import { fastify } from 'fastify';
    import { jsonApiPlugin } from '@robcresswell/fastify-jsonapi';
    
    const app = fastify();
    await app.register(jsonApiPlugin);

Examples

See EXAMPLES.md for more detailed examples

0.7.0

8 months ago

0.6.0

8 months ago

0.5.7

9 months ago

0.5.6

11 months ago

0.5.5

11 months ago

0.5.4

11 months ago

0.5.3

11 months ago

0.5.2

11 months ago

0.5.1

11 months ago

0.5.0

11 months ago

0.4.2

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago