Transport mechanisms for the Arcjet protocol
npm install @arcjet/transport@arcjet/transportTransport mechanisms for the [Arcjet][arcjet] protocol.
- npm package (@arcjet/transport)
- GitHub source code (transport/ in arcjet/arcjet-js)
This package provides a way to talk to our protocol.
This is an internal Arcjet package not designed for public use.
See our [_Get started_ guide][arcjet-get-started] for how to use Arcjet in your
application.
This package is ESM only.
Install with npm in Node.js:
``sh`
npm install @arcjet/transport
`ts
import { createTransport } from "@arcjet/transport";
const transport = createTransport("https://decide.arcjet.com");
// This can now be passed to createClient from @arcjet/protocol.``
[Apache License, Version 2.0][apache-license] © [Arcjet Labs, Inc.][arcjet]
[apache-license]: http://www.apache.org/licenses/LICENSE-2.0
[arcjet]: https://arcjet.com
[arcjet-get-started]: https://docs.arcjet.com/get-started