Express Stream
[MessagePack JS server](https://texonom.com/messagepack-js-server-f2a47dae011c4c65b2d3c249a870d357) 


### server

[Express gzip stream](https://texonom.com/express-gzip-stream-f8a16b70425f43a1be629832b6092473)

```typeres.write(serialize(data))res.end()```



```typeres.setHeader('content-type', 'application/x-msgpack')    for (const facility of facilities) {      res.write(new Uint8Array(Buffer.from(JSON.stringify(facility))))    }    return res.end()```
아래와 같다
```type    const inStream = new Readable({      read() {        const iterated = facilityMaker.next()        if (!iterated.done) this.push(new Uint8Array(Buffer.from(JSON.stringify(iterated.value))))        else this.push(null)      }    })    inStream.pipe(res)```




