sg-type-normalization

0.0.5 • Public • Published

sg-type-normalization

express에서 req로 부터 들어온 데이터를 정규화하는 미들웨어 입니다.

Installation

npm install --save sg-type-normalization

Example

const typeNormalization = require('sg-type-normalization')
const app = require('express')()
app.use(typeNormalization())
(req, res, next) => {
    console.log(req.data) // before normalize
    req.normalizeAll()
    console.log(req.data) // after normalize
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.50latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.50
0.0.41
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i sg-type-normalization

Weekly Downloads

1

Version

0.0.5

License

ISC

Unpacked Size

4.5 kB

Total Files

5

Last publish

Collaborators

  • hwaranglee
  • sngsng
  • piorio0919
  • kspark