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

@dangreaves/groq-query-builder

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dangreaves/groq-query-builder

[![NPM Version](https://img.shields.io/npm/v/%40dangreaves%2Fgroq-query-builder)](https://www.npmjs.com/package/@dangreaves/groq-query-builder) [![NPM Downloads](https://img.shields.io/npm/dw/%40dangreaves%2Fgroq-query-builder)](https://www.npmjs.com/pack

  • 0.5.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-54.17%
Maintainers
1
Weekly downloads
 
Created
Source

Typed query builder for the Sanity GROQ query language

NPM Version NPM Downloads GitHub License

This package allows queries for the GROQ Query Language to be constructed using a fluent interface. Because the Sanity Content Lake is technically just a JSON store, there is no guarantee that the query responses will match the Sanity schema. Therefore, this package implements runtime validation of responses using TypeBox to provide type safety.

Conceptually, it is similar to groqd but has less functionality, and uses TypeBox instead of Zod for schema definitions. Due to the use of Zod, groqd unfortunately leads to very slow TypeScript compilation as the complexity of the Sanity schema grows.

FAQs

Package last updated on 31 Mar 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