title: Run Neo4j queries from Cypher files in Javascript
body: <p>I am using the official <a href="https://www.npmjs.com/package/neo4j-driver" rel="nofollow noreferrer">Neo4j Javascript driver</a> to connect with my database. I want to run queries directly from <code>.cypher</code> files because writing them as strings is much more error-prone.</p>
  <p>I don't want to read the file using <code>fs</code>, as it would consume unnecessary resources. I want to <code>import</code> the file as I do with a JSON file (at compile time)</p>
  <p>How can I do that?</p>