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.3.5 to 0.4.0

typescript/pg-minify.d.ts

3

package.json
{
"name": "pg-minify",
"version": "0.3.5",
"version": "0.4.0",
"description": "Minifies PostgreSQL scripts.",
"main": "lib/index.js",
"typings": "typescript/pg-minify.d.ts",
"scripts": {

@@ -7,0 +8,0 @@ "test": "jasmine-node test",

## TypeScript for pg-minify
Complete TypeScript declarations for [pg-minify].
Complete TypeScript 2.0 declarations for the [pg-minify] module.
### Inclusion
You can use it either directly or via [typings].
* directly:
Typescript should be able to pick up the definitions without any manual configuration.
### Usage
```ts
/// <reference path='../node_modules/pg-minify/typescript/index.d.ts' />
```
import * as minify from "pg-minify";
* via [typings]:
var sql = "SELECT 1; -- comments";
minify(sql); //=> SELECT 1;
```
$ typings install --save --global github:vitaly-t/pg-minify
```
then you can also use a generic reference:
```ts
/// <reference path='../typings/index' />
```
[pg-minify]:https://github.com/vitaly-t/pg-minify
[typings]:https://github.com/typings/typings
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