Momento Node.js SDK
The Momento Node.js SDK is available via the npm package @gomomento/sdk
.
The source code can be found on GitHub: momentohq/client-sdk-javascript.
Requirements
- Node version 16 or higher is required.
- A Momento API Key is required; you can get one from the Momento Web Console.
Resources
- Getting started with Momento Cache in JavaScript
- Getting started with Momento Topics in JavaScript
- Getting started with Momento Storage in JavaScript
- Using compression with the Node.js SDK
- Node.js SDK Configuration and Error Handling: Taking your code to production
- Node.js SDK Style Guide: Learn about the two different code styles you can use to interact with Momento
- Node.js SDK Observability: Logging and Client-side Metrics with the Node.js SDK
Integrations
- Node.js Token Vending Machine: provides temporary, restricted scope Momento Auth tokens that can be used by browsers running apps written against the Momento Web SDK.
- Redis Compatibility Client for
@redis/client
- a drop-in replacement that allows you to use Momento Cache with your existing@redis/client
code! See also our Redis Client Compatibility page. - Redis Compatibility Client for
ioredis
- a drop-in replacement that allows you to use Momento Cache with your existingioredis
code! See also our Redis Client Compatibility page. - DynamoDB-Momento EventBridge Demo - a write-through cache in Momento using DynamoDB Streams and AWS EventBridge.