open-index/open-npm huggingface dataset:
npm package: @github1/build-tools
Description: Wrapper for webpack, jest and other dev tools
Latest version: 0.4.65

# @github1/build-tools

[description]

[badges]

## Install
```shell
npm install @github1/build-tools --save-dev
```

## Usage

```shell
build-tools [command] [--options <argument>]
```

## Commands

### lint
Lints code

```shell
build-tools lint
```

### test
Runs tests

```shell
build-tools test [--coverage --watch]
```

### devserver
Launches a webpack dev server

```shell
build-tools devserver
```

Supports mechanisms for injecting custom middleware. See [@github1/app-server](https://github.com/github1/app-server) for more details. 

### build-tools-package-server
Packages an app for deployment

```shell
build-tools-package-server
```

## License
[license]
npm package: @github1/pm2-ext
Description: PM2 with extensions
Latest version: 0.3.106

# @github1/pm2-ext

PM2 with extensions

[![build status](https://img.shields.io/travis/github1/pm2-ext/master.svg?style=flat-square)](https://travis-ci.org/github1/pm2-ext)
[![npm version](https://img.shields.io/npm/v/@github1/pm2-ext.svg?style=flat-square)](https://www.npmjs.com/package/@github1/pm2-ext)
[![npm downloads](https://img.shields.io/npm/dm/@github1/pm2-ext.svg?style=flat-square)](https://www.npmjs.com/package/@github1/pm2-ext)

## Install
```shell
npm install @github1/pm2-ext --save
```

## Usage
TBD

## License
[MIT](LICENSE.md)
npm package: @github1/sql-parser
Description: Fork of sql-parser - Lexer and Parser for SQL Syntax
Author: Andy Kent
Latest version: 0.5.0

SQL Parser
==========

SQL Parser is a lexer, grammar and parser for SQL written in JS. Currently it is only capable of parsing fairly basic SELECT queries but full SQL support will hopefully come in time. See the specs for examples of currently supported queries.


Installation
----------

The package is distributed on NPM and can be installed with...

    npm install sql-parser

To build from source you'll need to run the following from the root of the project...

    npm install
    cake build

Tests are written using Mocha and can be run with...

    npm test


Lexer
-----

The lexer takes a SQL query string as input and returns a stream of tokens in the format

    ['NAME', 'value', lineNumber]

Here is a simple example...

    lexer.tokenize('select * from my_table')

    [
      ['SELECT','select',1],
      ['STAR','*',1],
      ['FROM','from',1],
      ['LITERAL','my_table',1]
    ]

The tokenized output is in a format compatible with JISON.


Parser
------

The parser only currently supports SELECT queries but is able to produce a Select object with properties for where, group, order, limit. See lib/nodes.coffee for more info of the returned object structure. Calling .toString() on a Select object should give you back a well formatted version of the original SQL input.

    tokens = lexer.tokenize('select * from my_table where foo = 'bar')
    parser.parse(tokens).toString()

    SELECT *
      FROM `my_table`
      WHERE `foo` = 'bar'


Credits
-------

A lot of the boilerplate and compilation code in this project is borrowed from the CoffeeScript project as it was the best example of a project using JISON that I could find. Thanks.


Contributions
-------------

Contributions in the form of pull requests that add syntax support are very welcome but should be supported by both Lexer and Parser level tests.