# git-sql-log

> Search Git log by sql

Latest version **0.2.0** (published 2023-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-sql-log
pnpm add git-sql-log
yarn add git-sql-log
bun add git-sql-log
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2023-06-18 |
| First published | 2023-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14.16 |
| Dependencies | 4 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jy |
| Maintainers | pure-jy |
| Keywords | git, log, sql, git log, git extra, git effort, terminal, shell |

## Links

- npm: https://www.npmjs.com/package/git-sql-log
- Repository: https://github.com/jy0529/git-sql-log
- Homepage: https://github.com/jy0529/git-sql-log#readme
- Issues: https://github.com/jy0529/git-sql-log/issues
- npm.io page: https://npm.io/package/git-sql-log

## Dependencies (4)

- [ramda](https://npm.io/package/ramda.md) ^0.29.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.30.0
- [simple-git](https://npm.io/package/simple-git.md) ^3.19.0
- [node-sql-parser](https://npm.io/package/node-sql-parser.md) ^4.7.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.2.0 (latest) — 2023-06-18
- 0.1.1 — 2023-06-14
- 0.1.0 — 2023-06-14

## README

# git-sql-log 
Search Git log by SQL

## features
- [x] select *

- [x] select column1, column2

- [x] where and or

- [x] order by asc desc

- [x] limit N

```typescript
// example/base.js

import { GitSqlClient } from 'git-sql-log';

const gitSqlClient = new GitSqlClient({});

const res = await gitSqlClient.query('select * from log')

console.table(res)

```

![demo](/example.png)

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