Install your APIs like any other package
Every commit of every module is available as a ready-to-use package. Consumers add a dependency with the package manager they already use, and nobody needs to run code generation in their build.
What you get
Features
- 01
Native package managers
npm, go get, Maven and Gradle, and pip install straight from the registry.
- 02
Built on demand
Packages are generated the first time they are requested, then kept for good.
- 03
Versions you can trace
Each package version records the plugin version and the commit it was generated from.
- 04
Dependencies included
Imported modules and runtime libraries come along as regular package dependencies.
- 05
Private packages
Private modules produce private packages, installed with your API token.
- 06
Zip downloads
Prefer to vendor the code? Download any SDK as a zip from the module page.
In practice
Examples
$ npm config set @stubsdev:registry https://npm.stubs.dev/
$ npm install @stubsdev/acme_payments.protobuf-es$ go get stubs.dev/gen/go/acme/payments/protobuf-gorepositories {
maven { url = uri("https://maven.stubs.dev/") }
}
dependencies {
implementation("dev.stubs.gen:acme_payments_protobuf-java:<version>")
}$ pip install --extra-index-url https://python.stubs.dev/simple/ acme-payments-protobuf-pythonTry Stubs with your own schemas
Create an account, push a module and install your first generated SDK in a few minutes.