Comparing version 0.0.2 to 0.0.3
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13630
49