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

@graphql-utils/store

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-utils/store

In-memory data store for writing stateful GraphQL mocks.

  • 1.0.0-alpha.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@graphql-utils/store

In-memory data store for writing stateful GraphQL mocks.


Warning: This library is still in early development and the API is subject to change. Use at your own risk.

Introduction

@graphql-utils/store is an in-memory data store for writing stateful GraphQL mocks. It uses your GraphQL schema to validate data and establish relations between different types. It is handy for testing client-side applications that rely on GraphQL APIs and allows you to mimic your API's real-world behavior. It lets you write cleaner tests by decoupling API mocks from test cases.

Features

  • Immutable
  • Synchronous
  • Written in typescript
  • Supports types relations
  • Works in any Javascript environment (Browser, Node, Deno, etc.)
  • Validates data against your GraphQL schema (soon)
  • Mutation Events (soon)
  • Mutation Hooks (soon)

Check out the documentation to learn more.

License

Distributed under the MIT license.

Keywords

FAQs

Package last updated on 05 Dec 2022

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