# TypeScript RPC framework for WebSocket and Worker protocols

> Clean Markdown view of GeekNews topic #14978. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=14978](https://news.hada.io/topic?id=14978)
- GeekNews Markdown: [https://news.hada.io/topic/14978.md](https://news.hada.io/topic/14978.md)
- Type: news
- Author: [samchon](https://news.hada.io/@samchon)
- Published: 2024-05-24T14:04:07+09:00
- Updated: 2024-05-24T14:04:07+09:00
- Original source: [dev.to](https://dev.to/samchon/stop-using-swagger-ui-and-msw-but-sdk-instead-412b)
- Points: 8
- Comments: 5

## Topic Body

- TypeScript RPC (Remote Procedure Call) 프레임워크  
- JS 특유의 proxy와 promise 객체 + TS 특유의 타입 시스템을 활용  
- 상대 서버 객체를 내 로컬인 것처럼 tyoe safe하게 사용할 수 있음  
- 웹소켓 프로토콜 지원, NestJS 와도 호환됨  
- 워커도 네트워크처럼 간주하여 RPC 지원  
- 8 년 전에 만들었는데 여전히 유효할 거 같아 재소개

## Comments



### Comment 25560

- Author: samchon
- Created: 2024-05-24T20:17:48+09:00
- Points: 1

링크를 잘못 걸었는데, 수정하거나 삭제할 수 없나요?  
  
https://dev.to/samchon/i-revived-typescript-rpc-framework-for-websocket-nestjs-and-worker-protocols-from-8-years-ago-5463

### Comment 25545

- Author: savvykang
- Created: 2024-05-24T15:42:45+09:00
- Points: 1

openapi는 springdocs랑 typescript-generator 조합으로 잘 쓰고 있어서 불만은 없지만 asyncapi의 대안이 될수는 있겠네요. 아직까지 보편화된 sse나 웹소켓에 대한 타입 안전성 지원이 없는게 이상할 노릇입니다. 두개는 전혀 신기술도 아닌데 말이죠

### Comment 25548

- Author: samchon
- Created: 2024-05-24T16:32:01+09:00
- Points: 1
- Parent comment: 25545
- Depth: 1

딱 제 생각이 요러했습니다. 그래서 옛날에 공부삼아 만들었던거 ts backend 만들 일이 생겨 다시 쓰고 있습니다.

### Comment 25544

- Author: superwoou
- Created: 2024-05-24T15:42:23+09:00
- Points: 1

show gn이 어울리지 않을까요?

### Comment 25549

- Author: samchon
- Created: 2024-05-24T16:32:33+09:00
- Points: 1
- Parent comment: 25544
- Depth: 1

아티클 작성한거 show gn 올리면 관리자님이 다시 일반 주제로 바꿔주십니다
