🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@arcjet/transport

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/transport

Transport mechanisms for the Arcjet protocol

Source
npmnpm
Version
1.3.1
Version published
Weekly downloads
71K
7.29%
Maintainers
2
Weekly downloads
 
Created
Source
Arcjet Logo

@arcjet/transport

npm badge

Transport mechanisms for the Arcjet protocol.

What is this?

This package provides a way to talk to our protocol.

When should I use this?

This is an internal Arcjet package not designed for public use. See our Get started guide for how to use Arcjet in your application.

Install

This package is ESM only. Install with npm in Node.js:

npm install @arcjet/transport

Use

import { createTransport } from "@arcjet/transport";

const transport = createTransport("https://decide.arcjet.com");
// This can now be passed to `createClient` from `@arcjet/protocol`.

API

This package exports the identifier createTransport. There is no default export.

This package exports no TypeScript types.

createTransport(baseUrl)

Creates a transport that talks over HTTP/2 using @connectrpc/connect-node. This is a thin wrapper around createConnectTransport. Alternative entry points exist for Bun, Edge Light, and workerd that use @connectrpc/connect-web instead.

Parameters
  • baseUrl (string, example: https://example.com/my-api) — the base URL for all HTTP requests
Returns

A Connect transport that you can pass to createClient from @arcjet/protocol.

License

Apache License, Version 2.0 © Arcjet Labs, Inc.

Keywords

arcjet

FAQs

Package last updated on 30 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts