
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@gomomento/sdk
Advanced tools
Momento Cache is a fast, simple, pay-as-you-go caching solution without any of the operational overhead required by traditional caching solutions. This repo contains the source code for the Momento client library for Node.js.
To get started with Momento you will need a Momento Auth Token. You can get one from the Momento Console.
The node.js SDK is available on npmjs: @gomomento/sdk
.
The node.js SDK is the best choice for server-side JavaScript applications or environments where performance considerations are key. If you are writing a browser application or other JavaScript code that will run outside of node.js, check out the Momento Web SDK.
import {CacheClient, CacheGetResponse} from '@gomomento/sdk';
async function main() {
const cacheClient = await CacheClient.create({
defaultTtlSeconds: 60,
});
await cacheClient.createCache('cache');
await cacheClient.set('cache', 'foo', 'FOO');
const getResponse = await cacheClient.get('cache', 'foo');
if (getResponse.type === CacheGetResponse.Hit) {
console.log(`Got value: ${getResponse.valueString()}`);
}
}
main().catch(e => {
throw e;
});
Documentation is available on the Momento Docs website.
Working example projects, with all required build configuration files, are available in the examples' subdirectory.
If you are interested in contributing to the SDK, please see the CONTRIBUTING docs.
For more info, visit our website at https://gomomento.com!
FAQs
Client SDK for Momento services
The npm package @gomomento/sdk receives a total of 13,214 weekly downloads. As such, @gomomento/sdk popularity was classified as popular.
We found that @gomomento/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.