graphql-query-path

Have a look at the readme at:

Usage no npm install needed!

<script type="module">
  import graphqlQueryPath from 'https://cdn.skypack.dev/graphql-query-path';
</script>