New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@db-man/cli

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@db-man/cli

CLI for db-man

latest
Source
npmnpm
Version
0.1.45
Version published
Maintainers
1
Created
Source

cli

Summary

  • Split one big table file to multiple table record files.
  • Merge multiple table record files to one big table file.
  • Convert git log commit data to csv format which shows the total number of lines in a file on each date

How to use

Create a dbs.json file with content:

{
  "repoPath": "dbs"
}

Split

Run the following commands:

npx @db-man/cli split
npx @db-man/cli split iam/users # If only process one table file at a time.

Merge

Run the following commands:

npx @db-man/cli merge
npx @db-man/cli merge iam/users # If only process one table file at a time.

mergeUpdatedTables

Run the following commands:

node bin/cli.mjs mergeUpdatedTables 787fc97a43ff53b42288527b28fdb810a519c524

The sha is from GitHub Actions pipeline env var GITHUB_SHA.

splitUpdatedTables

Run the following commands:

node bin/cli.mjs splitUpdatedTables 787fc97a43ff53b42288527b28fdb810a519c524

The sha is from GitHub Actions pipeline env var GITHUB_SHA.

Insights

Run the following commands:

npx @db-man/cli printInsights iam/users

Copy the output to a file lines.csv, then use https://csvplot.com/ to plot the chart.

FAQs

Package last updated on 23 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts