stars 1 stars 2 stars 3

We are a small team of developers working on SmartGraphQL - Node.js module, which enables users to limit the depth and complexity of queries to their GraphQL server, preventing resource exhaustion. When queries are received by the server, the library will calculate their cost and depth and compare it against the user’s limits to execute or reject the query. Both calculations involve parsing through each node of the Abstract Syntax Tree. Calculating depth complexity is similar to finding the depth of a Binary Search Tree, every time a GraphQL object type is encountered, the complexity is incremented. Cost on the other hand involves tracking specific arguments of GraphQL object types and using them to estimate the number of resolvers that will be executed when querying the database.

SmartGraphQL Questions

SmartGraphQL is based in New York, New York.

G2 Leader Summer 2026 G2 Best Est ROI Mid-Market Summer 2026 G2 Easiest Admin Mid-Market Summer 2026 G2 Most Implementable Summer 2026 G2 Best Results Mid-Market Summer 2026 G2 Lead Capture Mid-Market Summer 2026 Inc Fastest Growing Private Companies 2026 Inc Best Workplace 2026
g2crowd
G2Crowd Trusted
chromestore
300K+ Plugin Users