# sqlclid-sqlite

> A SQLite driver for the sqlcli package.

Latest version **1.0.0** (published 2022-01-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install sqlclid-sqlite
pnpm add sqlclid-sqlite
yarn add sqlclid-sqlite
bun add sqlclid-sqlite
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-01-24 |
| First published | 2022-01-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | TheBrenny |
| Maintainers | thebrenny |
| Keywords | sql, cli, sqlite, driver |

## Links

- npm: https://www.npmjs.com/package/sqlclid-sqlite
- Repository: https://github.com/TheBrenny/sqlclid-sqlite
- Homepage: https://github.com/TheBrenny/sqlclid-sqlite#readme
- Issues: https://github.com/TheBrenny/sqlclid-sqlite/issues
- npm.io page: https://npm.io/package/sqlclid-sqlite

## Dependencies (2)

- [sqlite](https://npm.io/package/sqlite.md) ^4.0.23
- [sqlite3](https://npm.io/package/sqlite3.md) ^5.0.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-01-24

## README

# SQL CLI MySQL Driver

> *An SQLite Driver for the [SQL CLI](https://github.com/TheBrenny/sqlcli) package!*

Lets you connect to **SQLite** Databases using the [SQL CLI](https://github.com/TheBrenny/sqlcli). This can be installed globally (allowing you to use it everywhere) or locally (to be used within a specific package).

## Install

```commandline
$ npm install [-g] sqlclid-sqlite
```

For most use cases, you'll want to install this globally so you can take full advantage of `sqlcli` anywhere on your computer, however, you can also save it to your dev dependencies to make sure your colleagues are on the same page when inspecting the DB.

```commandline
$ npm install --save-dev sqlcli-repl sqlclid-sqlite
```

## Usage

Open a connection using a URI or through args

```plain
$ sqlcli sqlite:///:memory:
OR
$ sqlcli -d sqlite -b :memory:
```

Find out more help using `sqlcli --help`

Execute typical SQL queries:
```plain
user@localhost> SELECT 1 AS `One`, 2 AS `Two`;
|-----|-----|
| One | Two |
|-----|-----|
|   1 |   2 |
|-----|-----|
```

Execute multi-line SQL queries:
```plain
user@localhost> SELECT
... 3 AS `Three`,
... 4 AS `Four`
... ;
|-------|------|
| Three | Four |
|-------|------|
|     3 |    4 |
|-------|------|
```

Execute JS on results:
```plain
user@localhost> SELECT 1 AS `One`, 2 AS `Two`;sh
user@localhost> >$0
[
  {
    "One": 1,
    "Two": 2
  }
]
```

## More Info

Find out more info at the [SQL CLI](https://github.com/TheBrenny/sqlcli) repo!

## License

MIT

---
_Source: https://npm.io/package/sqlclid-sqlite · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
