Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pg-minify

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-minify - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name": "pg-minify",
"version": "0.0.2",
"description": "Minify PostgreSQL scripts",
"version": "0.0.3",
"description": "Minifies PostgreSQL scripts.",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "scripts": {

pg-minify
=========
Minify PostgreSQL scripts
Minifies PostgreSQL scripts.

@@ -9,2 +9,11 @@ [![Build Status](https://travis-ci.org/vitaly-t/pg-minify.svg?branch=master)](https://travis-ci.org/vitaly-t/pg-minify)

Minifies a PostgreSQL script into a single-line SQL command:
1. Removes both `/*multi-line*/` and `--single-line` comments
2. Concatenates multi-line strings into single-line with `\n`
3. Removes all redundant gaps: line breaks, tabs and spaces
4. Flattens the resulting script into a single line
It also provides basic parsing and error reporting for invalid SQL.
## Installing

@@ -11,0 +20,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc