@strong-roots-capital/websocket-close-codes
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

websocket-close-codes Build status npm version

Enum of WebSocket close codes

Install

npm install @strong-roots-capital/websocket-close-codes

Use

import WSCloseCode from '@strong-roots-capital/websocket-close-codes'
console.log(WSCloseCode.NormalClosure)
//=>1000

Related

Readme

Keywords

Package Sidebar

Install

npm i @strong-roots-capital/websocket-close-codes

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

10 kB

Total Files

4

Last publish

Collaborators

  • amchelle
  • hamroctopus