I am using the official Neo4j Javascript driver to connect with my database. I want to run queries directly from .cypher files because writing them as strings is much more error-prone.
I don't want to read the file using fs, as it would consume unnecessary resources. I want to import the file as I do with a JSON file (at compile time)
How can I do that?