
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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://api.maple.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.
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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.