jsyesql
JavaScript + Yesql
Inspired by goyesql
Parse text and associate SQL queries to a Object. Useful for separating SQL from code logic.
Usage
const fs = const jsyesql = /*queries.sql:-- name: selectAllSELECT * FROM table_name; -- comment*/ const queries = jsyesqlconsole// SELECT * FROM table_name;
LICENSE
This library is free and open-source software released under the MIT license.