New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-mesh/store

Package Overview
Dependencies
Maintainers
3
Versions
2551
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-mesh/store

  • 0.102.11-alpha-20241030131730-1359d5277c2d37355cd8bcfebf07b0160688def4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
116K
decreased by-18.04%
Maintainers
3
Weekly downloads
 
Created

What is @graphql-mesh/store?

@graphql-mesh/store is a package that provides a storage solution for GraphQL Mesh, allowing you to store and retrieve data in a consistent manner across different environments.

What are @graphql-mesh/store's main functionalities?

File Store

The File Store feature allows you to store data in the file system. This is useful for local development and testing where you want to persist data between runs.

const { FsStoreStorageAdapter } = require('@graphql-mesh/store');
const store = new FsStoreStorageAdapter({ cwd: process.cwd() });
store.set('key', 'value');
const value = store.get('key');

In-Memory Store

The In-Memory Store feature provides a volatile storage solution that keeps data in memory. This is ideal for scenarios where persistence is not required, such as in-memory caching.

const { InMemoryStoreStorageAdapter } = require('@graphql-mesh/store');
const store = new InMemoryStoreStorageAdapter();
store.set('key', 'value');
const value = store.get('key');

Other packages similar to @graphql-mesh/store

FAQs

Package last updated on 30 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc