Developer platform
Three lines to see who's crossing.
The developer platform brings it together: SDKs, API keys, webhooks, integrations and docs. Start observe-only, then add rules and pricing when you're ready.
Resources
- npm package — https://www.npmjs.com/package/wayleave
- Source on GitHub — https://github.com/gibrancorbin11-hub/wayleave
- Integration docs — https://meter.wayleave.dev/docs.html
- Hosted Meter — https://meter.wayleave.dev
- Identity API — https://api.wayleave.dev/v1/identify
Next steps
- Observe first with a Meter key.
- Add rules and rate limits per lane.
- Price routes with HTTP 402 and strictPricedPaths.
- Publish a signed policy from Meter.
Quickstart
npm install wayleave
import Wayleave from 'wayleave';
const gate = new Wayleave({
meter: { apiKey: process.env.WAYLEAVE_METER_KEY },
});
app.use(gate.express()); // before the routes you want to observeQuestions
What does Wayleave depend on?
Nothing — zero dependencies, Node's native crypto only.