Node.js module

tls

The 'node:tls' module provides an API for implementing TLS and SSL secure network communication. It wraps OpenSSL to create secure TCP connections via tls.createServer and tls.connect.

Features include certificate parsing, client authorization, secure context management, and TLS session resumption.

Works in Bun · notes

Core TLS/SSL functionality works. The deprecated `tls.createSecurePair` method is missing.

Functions 7

Classes 2

Interfaces 17

Types 1

Variables 7