Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@turnkey/sdk-server
Advanced tools
A SDK client with server-specific abstractions for interacting with Turnkey API. Also includes @turnkey/http, a lower-level, fully typed HTTP client.
Turnkey API documentation lives here: https://docs.turnkey.com.
$ npm install @turnkey/sdk-server
const { Turnkey } = require("@turnkey/sdk-server");
// This config contains parameters including base URLs, API credentials, and org ID
const turnkeyConfig = JSON.parse(fs.readFileSync("./turnkey.json", "utf8"));
// Use the config to instantiate a Turnkey Client
const turnkeyServerClient = new Turnkey(turnkeyConfig);
// You're all set to create a server!
const turnkeyProxyHandler = turnkeyServerClient.expressProxyHandler({});
app.post("/apiProxy", turnkeyProxyHandler);
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});
@turnkey/sdk-server
provides Turnkey
, which offers wrappers around commonly used Turnkey API setups. This enables you to easily stand up a minimal backend to proxy end-users' requests to Turnkey. You can also use this to call on the Turnkey API directly from a server setting.
// TODO: // - typescript-ify example // - include nextjs server example
FAQs
Javascript Server SDK
The npm package @turnkey/sdk-server receives a total of 6,464 weekly downloads. As such, @turnkey/sdk-server popularity was classified as popular.
We found that @turnkey/sdk-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.