graphql-to-json-schema
graphql-to-json-schema copied to clipboard
use this package in the browser
Hello, great lib, wanted to know if there is a possibility this will run from client side browser? Unlike the example in the readme.md the lib requires 'graphql-import-node' which is node.js package.
Thanks!
any news about this? or a suggestion? thanks
Hi 👋🏼
I don't see any graphql-import-node
dependency in the package-lock.json
Do you have a stacktrace on a web scenario?
it seems like it can work without any issue in the browser
however, i would recommend to reimplement the library by yourself in case of browser usage because lodash dependencies could be optimize in terms of size (tree-shaking). the library is just a bunch of files after all