This is the official Segment Edge SDK monorepo.
With Segment Edge SDK, built on Cloudflare Workers, developers can collect high-quality first-party data and use Segment Edge SDK to access realtime user profiles and state, to deliver personalized app experiences without managing a ton of infrastructure. Want to know more? Check out these blog posts:
Versioning and package publishing is handled by Changesets and fully automated with GitHub Actions.
Two examples are provided in Examples folder. See the full docs for details on how to use the Edge SDK with Cloudflare Workers.
yarn build
- Build all packages and the exampleyarn dev
- Develop all packages and the exampleyarn lint
- Lint all packagesyarn changeset
- Generate a changesetyarn clean
- Clean up allnode_modules
anddist
folders (runs each package's clean script)