0.0.4 • Published 2 years ago

serialize-nest v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

DevOps By Rultor.com We recommend IntelliJ IDEA

node Hits-of-Code Lines-of-Code PDD status License

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 ci

You will need NPM 9+ and Node.js 18.16.0+.

Our rultor image for CI/CD.

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago