@knorm/to-json
Knorm plugin that adds a toJSON method to Knorm's Model class.
Documentation
Visit the documentation site.
toJSON plugin for @knorm/knorm
Knorm plugin that adds a toJSON method to Knorm's Model class.
Visit the documentation site.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @knorm/to-json
Instead of:
const knorm = require('@knorm/knorm');
const knormPostgres = require('@knorm/postgres');
const { Knorm } = knorm;
const { KnormPostgres } = knormPostgres;
Do:
const { knorm, Knorm } = require('@knorm/knorm');
const { knormPostgres, KnormPostgres } = require('@knorm/postgres');
exclude
to []
(b84c660)exclude
per model (9ae4631)