Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@maple-app/sdk-node
Advanced tools
The Maple REST API SDK for Node.js is always up-to-date as it's generated using openapi-generator
. We've added functionality to the generated code, including webhook payload verification.
npm install @maple-app/sdk-node
# Export your Maple REST API key
export MAPLE_API_KEY=[YOUR_MAPLE_API_KEY]
// ./examples/index.ts
import { Configuration, DefaultApi } from "@maple-app/sdk-node";
const configuration = new Configuration({
apiKey: process.env["YOUR_MAPLE_API_KEY"],
basePath: "https://mact-api-prod.herokuapp.com",
});
const api = new DefaultApi(configuration);
const shift = await api.getShift({
shiftId: "3decc3ba-9d75-47b9-86b0-48fef75107f0",
});
console.log(JSON.stringify(shift, null, 2));
See package.json
scripts
for a complete list of commands.
# Install dependencies
npm install
# Transpile TypeScript to JavaScript
npm run build
# Generate SDK from OpenAPI spec
npm run generate
FAQs
The Maple REST API SDK for Node.js.
The npm package @maple-app/sdk-node receives a total of 77 weekly downloads. As such, @maple-app/sdk-node popularity was classified as not popular.
We found that @maple-app/sdk-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.