arlang
Human-readable ARQL query language
Usage
arlang accepts a string and a few options. It returns a valid arql query.
const arlang = const arweave = // let's make a queryconst query = // if you don't like the language, we have another one for youconst query2 = // now let's run the queryconst result = await arweave // doesn't matter which one we take, they're both equal // worried about ARQL injections? we've got 'ya coveredconst queryWithPlaceholdoers = // there's also a short function to make things... shorterconst $arql = arlangconst queryWplaceholders =