@mia-platform/sql-ddl-parser
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.5 • Public • Published

    sql-ddl-parser

    Permissive SQL DDL Parser

    npm version GitHub PRs CI

    Document

    interface

    export function tokenizer(input: string): Token[];
    export function parser(tokens: Token[]): Statement[];
    export function DDLParser(input: string): Statement[];
    Name Type
    tokenizer Function
    parser Function
    DDLParser Function

    Install

    $ yarn add @vuerd/sql-ddl-parser
    or
    $ npm install @vuerd/sql-ddl-parser

    Usage

    import { DDLParser } from '@vuerd/sql-ddl-parser';
    
    const statements = DDLParser('sql ddl...');

    Install

    npm i @mia-platform/sql-ddl-parser

    DownloadsWeekly Downloads

    247

    Version

    0.2.5

    License

    MIT

    Unpacked Size

    92.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • daaaaa
    • jgiola
    • davidebianchi
    • fredmaggiowski
    • bottarga