open-index/open-npm huggingface dataset:
npm package: @lancedb/arrow-flight-sql-client
Description: A native typescript project for querying Flight SQL endpoints
Author: Weston Pace
Latest version: 0.3.0

# JavaScript Client for FlightSQL

This is a JavaScript client for FlightSQL. It allows you to easily query FlightSQL servers from your JavaScript applications.

Warning: This client is still experimental and in heavy development. If you'd like to help contribute, please reach out to us
at the [LanceDB Discord server](https://discord.gg/G5DcmnZWKB).

Currently all testing is done on Node.

## Installation

You can install the client using npm:

```bash
npm install @lancedb/arrow-flight-sql-client
```

## Usage

To use the client, you first need to connect to your database:

```javascript
import { Client } from "@lancedb/arrow-flight-sql-client";

const client = await Client.connect({
  host: "mydb.com:10025",
  username: "lancedb",
  password: "password",
});
```

Once you have connected to your database, you can run queries:

```javascript
const result = await client.query("SELECT * FROM flights WHERE origin = 'SFO'");
```

Query results can be returned in a variety of formats but the simplest thing to do is to return them as an array of objects:

```javascript
interface FlightRecord {
    origin: string;
    destination: string;
}

const flights = (await result.collectToObjects()) as FlightRecord[];
console.log(flights);
```

## Arrow Integration

The client can return query results as an Arrow table. Transferring Arrow data across JavaScript API boundaries
is tricky because the Arrow package uses a number of `instanceof` checks to determine the type of objects. For
these to work correctly, the Arrow package your application is using must be the exact same version
used by this package. In addition, the Arrow package must be loaded in the same context as this package.
This process can often fail in the presence of bundlers like Webpack or Rollup.

If you are using a bundler, it is recommended to use `collectToObjects` instead.

If you would like to improve this situation I encourage you to make a stab at
[this Github issue](https://github.com/lancedb/flight-sql-js-client/issues/11).
npm package: @lancedb/vectordb-darwin-arm64
Description: Prebuilt binary package for `vectordb` on `darwin-arm64`.
Author: Lance Devs
Latest version: 0.21.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@lancedb/vectordb-darwin-arm64`

Prebuilt binary package for `vectordb` on `darwin-arm64`.
npm package: @lancedb/vectordb-win32-arm64-msvc
Description: Prebuilt binary package for `vectordb` on `win32-arm64-msvc`.
Author: Lance Devs
Latest version: 0.18.1

# `@lancedb/vectordb-win32-arm64-msvc`

Prebuilt binary package for `vectordb` on `win32-arm64-msvc`.
npm package: @lancedb/vectordb-win32-x64-msvc
Description: Prebuilt binary package for `vectordb` on `win32-x64-msvc`.
Author: Lance Devs
Latest version: 0.21.2

# `@lancedb/vectordb-win32-x64-msvc`

Prebuilt binary package for `vectordb` on `win32-x64-msvc`.
npm package: @lancejpollard/act
Description: Gathering up all the power into one tool.
Author: Lance Pollard
Latest version: 0.1.0


<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

<h3 align='center'>act</h3>
<p align='center'>
  Common Actions Interface
</p>

<br/>
<br/>

<p align='center'>
  <a href='#summary'>Summary</a> •
  <a href='#getting-started'>Getting Started</a> •
  <a href='#cli'>CLI</a> •
  <a href='#contribute'>Contribute</a> •
  <a href='#license'>License</a>
</p>

<p align='center'>
  <img src='https://github.com/lancejpollard/act/workflows/build/badge.svg?branch=build' />
</p>

<br/>
<br/>
<br/>

### Summary

Act is a collections of common actions to perform in code. It provides an API and CLI for performing these actions.

### Getting Started

Requirements on Mac

```bash
brew cask install java
brew cask install mactex
brew cask install libreoffice
brew install imagemagick
brew install fontforge
brew install ffmpeg
brew install node
```

Requirements for Windows:

```
choco install libreoffice-fresh
choco install imagemagick --version 7.0.10.19
choco install fontforge
choco install ffmpeg
choco install miktex
choco install nodejs
```

Requirements for Linux:

```
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install texlive-xetex
sudo apt-get install imagemagick
sudo apt-get install libreoffice
sudo apt-get install fontforge
sudo apt-get install inkscape
sudo apt-get install ffmpeg
sudo apt-get install ufraw
sudo apt-get install rar
```

Finally, with these dependencies installed, you can install the act:

```
npm install -g @lancejpollard/act
```

### CLI

Here are some helpful commands to get you started:

#### Split a PDF into individual files.

```
$ act split some.pdf -o outputDirectory
```

#### Take a subset of a PDF.

```
$ act slice some.pdf -s 15 -e 25 -o output.pdf
```

#### Rename recursively a bunch of files:

```
$ act rename -t f -p "tmp/**/*.jpg" -s "\.jpg" -e ".png"
```

#### Convert HTML to PDF

```
$ act convert tmp/index.html -o tmp/index.pdf -w 2000px -h 3000px
```

#### Remove All EXIF Data from a JPEG

```
$ act remove exif input.jpg
```

#### Resize Image


```
$ act resize input.jpg -w 300 -o output.jpg
```

### Contribute

Contributions are greatly welcomed. Help us define what the ideal interface would be for a browser-terminal-editor-os app. Identify the key painpoints in the customer onboarding flow, and help us map out the best solutions. See the [contributor's guide](https://github.com/lancejpollard/act/blob/build/slate/contributing.md) for more info if you are just starting out coding. And here is a list of the contributors, just one atm.

<br/>
<br/>
<br/>

<p align='center'>
  <!-- https://api.github.com/users/lancejpollard -->
  <a href='https://github.com/lancejpollard'>
    <img alt='lancejpollard' src='https://avatars0.githubusercontent.com/u/28718?v=4&s=117' width='117' />
  </a>
</p>

<br/>
<br/>
<br/>

Also, [track our release progress](https://github.com/lancejpollard/act/blob/build/slate/changelog.md) if you're interested!

### License

MIT