Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-filter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-filter

A GraphQL middleware to filter output data.

  • 1.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-55.56%
Maintainers
1
Weekly downloads
 
Created
Source


Welcome to graphql-filter 👋

Version License: MIT Total alerts Language grade: JavaScript Twitter: hata6502

A GraphQL middleware to filter output data.

💡 Motivation

When implementing a GraphQL API, you may want to filter the output. Another layer should be used especially if the reason is due to settings or privacy. graphql-filter provides comprehensive filtering by GraphQL Types. It may be able to implement flexible read control with graphql-filter and graphql-shield.

Example

Please see test and snapshots.

Install

yarn add graphql-filter graphql-middleware

Run tests

yarn test

Author

hata6502 hata6502

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 hata6502.
This project is MIT licensed.

Disclaimer

Please see DISCLAIMER.md.


This README was generated with ❤️ by readme-md-generator

Keywords

FAQs

Package last updated on 30 Jan 2021

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