0.0.4 • Published 3 years ago
serialize-nest v0.0.4
Project architect: @h1alexbel
Simple Serialization Interceptor and it Decorator for NestJS.
Motivation. We are not happy with duplicating code each time we are working with serialization in NestJs.
How to use. First install package from npm.js:
npm install serialize-nest@Serialize(ResponseUser)
function user() {
return new User();
}It will serialize your User object returned by method user into ResponseUser.
How to Contribute
Fork repository, make changes, send us a pull request.
We will review your changes and apply them to the master branch shortly,
provided they don't violate our quality standards. To avoid frustration,
before sending us your pull request please run full NPM build:
$ npm run ciYou will need NPM 9+ and Node.js 18.16.0+.
Our rultor image for CI/CD.