Socket
Socket
Sign inDemoInstall

ts-mysql-uri

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ts-mysql-uri

Parse a MySQL connection URI.


Version published
Weekly downloads
431
increased by94.14%
Maintainers
1
Install size
51.7 MB
Created
Weekly downloads
 

Readme

Source

ts-mysql-uri

Alt Text

Parse a MySQL connection URI.

Alt Text

Installation

yarn add ts-mysql-uri
# or
npm install ts-mysql-uri

Usage

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-antlr4-scanner - A scanner for antlr4-based lexers

License

MIT


stevenmiller888.github.io  ·  GitHub @stevenmiller888  ·  Twitter @stevenmiller888

Keywords

FAQs

Last updated on 09 Mar 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc