matrix-archive-bot

(★ 26)

bot to log matrix channels

File Explorer

  • .gitignore
  • irc-logs-to-fake-json.js
  • package-lock.json
  • package.json
  • README.md
  • render-html.js
  • render-sql.js
  • render-txt.js
  • run.mjs
  • sql.js-httpvfs-0.8.11.tgz
  • utils.js
  • webpack.config.js

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

node

View Details ▼

Server-side JavaScript platform (Node.js).

node {{path/to/file}}

Run a JavaScript file:

node

Start a REPL (interactive shell):

node --watch {{path/to/file}}

Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npm run

View Details ▼

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

🔍

npm

View Details ▼

JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.

npm init {{[-y|--yes]}}

Create a `package.json` file with default values (omit `--yes` to do it interactively):

npm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

🔍

sqlite3

View Details ▼

Interface to SQLite 3, which is a self-contained file-based embedded SQL engine.

sqlite3

Start an interactive shell with a new database:

sqlite3 {{path/to/database.sqlite3}}

Open an interactive shell against an existing database:

sqlite3 {{path/to/database.sqlite3}} '{{SELECT * FROM some_table;}}'

Execute an SQL statement against a database and then exit:

// repository documentation