Website | Get Started | Documentation | GitHub Discussions | Twitter | Support
One SDK for all the APIs you want to integrate with.
This is a new implementation of OneSDK for Node.js using WebAssembly under the hood. Which allows us to give users OneSDK in their favorite language.
For more details about Superface, visit How it Works and Get Started.
A simple demonstration can be run with ./examples/run.sh node. It builds the entire project and Node.js host, then runs the example.
This will require to have Development requirements installed. In case of building the core in Docker node and yarn are still required.
The OneSDK uses these environment variables:
ONESDK_LOG=on- controls logging intended for users. Values1,on,yesandtrueare recognized as positive.ONESDK_REGISTRY_URL=http://localhost:8321- Superface registry base URLONESDK_CONFIG_CACHE_DURATION=3600- duration in seconds of how long to cache documents (profiles, maps, providers) before downloading or reading them from the file system againONESDK_CONFIG_DEV_DUMP_BUFFER_SIZE=1048576- size of the developer log dump ring bufferONESDK_DEV_LOG=off- controls the level of logging intended for developers. Set totraceto see everything that is logged, including user log and metrics. See tracing_subscriber directives for full syntax.
We welcome all kinds of contributions! Please see the Contribution Guide to learn how to participate.
OneSDK is licensed under the MIT License.
© 2023 Superface s.r.o.
