decoupled-data-json
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

decoupled-data-json

JSON data-source for decoupled

Usage

In config/SITE/router.js use:

import { decoupledJsonHandler } from 'decoupled-data-json';

module.exports.router = {
    routes: [
        {
            method: 'GET',
            route: '(.*)',
            handler: decoupledJsonHandler,
        },
    ]
};

Readme

Keywords

none

Package Sidebar

Install

npm i decoupled-data-json

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

4.61 kB

Total Files

7

Last publish

Collaborators

  • oerdmann