
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
JavaScript bindings for prql-compiler. Check
out https://prql-lang.org for more context.
This uses
wasm-pack
to generate bindings1.
To install the currently published version:
npm install prql-js
This package is built to target a bundler (i.e. webpack). To use it with Node.js
or import it directly in a browser as an ES module, build it using a suitable
--target.
import compile from "prql-js";
const sql = compile(`from employees | select first_name`);
console.log(sql);
Prints:
SELECT
first_name
FROM
employees
For more information about the language, see reference book.
Build:
wasm-pack build
This builds a node package in the pkg path. An example of including that as a
dependency is in playground.
Test:
wasm-pack test --firefox
though we would be very open to other approaches, and used trunk
successfully in a rust-driven approach to this, RIP prql-web. ↩
FAQs
Javascript bindings for prql-compiler
We found that prql-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.