Parse a MySQL connection URI.
yarn add ts-mysql-uri
# or
npm install ts-mysql-uri
import { parse } from 'ts-mysql-uri'
const config = parse('mysql://root@127.0.0.1:3306/foo')
console.log(config) // { scheme: 'mysql', username: 'root', host: '127.0.0.1', port: '3306', schema: 'foo' }
- ts-mysql-parser - A standalone, grammar-complete MySQL parser
- ts-mysql-analyzer - A MySQL query analyzer
- ts-mysql-schema - A schema extractor for MySQL
- ts-antlr4-scanner - A scanner for antlr4-based lexers
stevenmiller888.github.io · GitHub @stevenmiller888 · Twitter @stevenmiller888