
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
@oracle/quicksql
Advanced tools
Quick SQL is a markdown-like shorthand syntax that expands to standards-based Oracle SQL. It is useful to rapidly design and prototype data models. Take a look at the example below:

Previously, Quick SQL was only available within Oracle Application Express. This project reimplements the Quick SQL parser and translator into a JavaScript library which can be used in both NodeJS and the browser.
This repository also includes a Quick SQL to Entity Relationship Diagram module that can be used as seen in the example below:

npm install @oracle/quicksql
The Quick SQL to DDL translator is the product's core component, It allows users to transform a Quick SQL string into an Oracle SQL string.
The Quick SQL Syntax and Grammar are documented here
See below for examples of how to use this library.
NPXJS regitry already contains package with conflicting name. To disambiguate, please use command like this:
npx @oracle/quicksql test/apex/department_employees.qsql > output.sql
import { quicksql } from "@oracle/quicksql";
import fs from "fs";
try {
const text = fs.readFileSync( './test/department_employees.quicksql' );
console.log( new quicksql( text.toString() ).getDDL() );
} catch( e ) {
console.error( e );
};
const { quicksql } = require( "@oracle/quicksql" );
const fs = require( "fs" );
try {
const text = fs.readFileSync( './test/department_employees.quicksql' );
console.log( new quicksql( text.toString() ).getDDL() );
} catch( e ) {
console.error( e );
};
<script type="module">
import { quicksql } from './dist/quick-sql.js';
document.body.innerText = new quicksql(
`departments /insert 2
name /nn
location
country
employees /insert 4
name /nn vc50
email /lower
cost center num
date hired
job vc255
view emp_v departments employees
# settings = { "prefix": null, "semantics": "CHAR", "DV": false }
`
).getDDL();
</script>
<script src="./dist/quick-sql.umd.cjs"></script>
<script>
document.body.innerText = new quickSQL.quicksql(
`departments /insert 2
name /nn
location
country
employees /insert 4
name /nn vc50
email /lower
cost center num
date hired
job vc255
view emp_v departments employees
# settings = { "prefix": null, "semantics": "CHAR", "DV": false }
`
).toDDL();
</script>
Requires a paid library. Review the usage here
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide
Please consult the security guide for our responsible security vulnerability disclosure process
Copyright (c) 2023 Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.
FAQs
Quick SQL to DDL and ERD translator
The npm package @oracle/quicksql receives a total of 18 weekly downloads. As such, @oracle/quicksql popularity was classified as not popular.
We found that @oracle/quicksql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.