@hazae41/cadenas
TypeScript icon, indicating that this package has built-in type declarations

0.2.41 • Public • Published
npm i @hazae41/cadenas

Node Package 📦

DO NOT USE

This is experimental software in early development

  1. It has security issues
  2. Things change quickly

Features

Current features

  • 100% TypeScript and ESM
  • Zero-copy reading and writing
  • Transport agnostic (HTTP, WebSocket)
  • WebStreams based backpressure
  • TLS 1.2

Upcoming Features

  • TLS 1.3
  • Zero RTT

Usage

import { TlsStream, Ciphers } from "@hazae41/cadenas"

const tcp: ReadableWritablePair<Uint8Array, Uint8Array> = ...

const ciphers = [Ciphers.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384]
const tls = new TlsStream(tcp, { ciphers })

Install

DownloadsWeekly Downloads

14

Version

0.2.41

License

MIT

Unpacked Size

875 kB

Total Files

381

Last publish

Collaborators

  • hazae41