# mediawiki-timestamp

> create and verify OpenTimestamps for MediaWiki exports

Latest version **1.0.1** (published 2021-07-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install mediawiki-timestamp
pnpm add mediawiki-timestamp
yarn add mediawiki-timestamp
bun add mediawiki-timestamp
```

Provides the command `mwts`.

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-07-19 |
| First published | 2021-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.0.0 |
| Dependencies | 8 |
| Unpacked size | 31.6 KB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yugen Partners |
| Maintainers | cfmyers |
| Keywords | mediawiki, opentimestamps, oclif |

## Links

- npm: https://www.npmjs.com/package/mediawiki-timestamp
- Repository: https://github.com/yugenpartners/mediawiki-timestamp
- Issues: https://github.com/yugenpartners/mediawiki-timestamp/issues
- npm.io page: https://npm.io/package/mediawiki-timestamp

## Dependencies (8)

- [tslib](https://npm.io/package/tslib.md) ^1.14.1
- [cli-ux](https://npm.io/package/cli-ux.md) ^5.6.3
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.23
- [libxmljs](https://npm.io/package/libxmljs.md) ^0.19.7
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.17.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.8.0
- [opentimestamps](https://npm.io/package/opentimestamps.md) ^0.4.9
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^3.2.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.1 (latest) — 2021-07-19
- 1.0.0 — 2021-06-15

## README

# mediawiki-timestamp

create and verify OpenTimestamps for MediaWiki exports

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)

[![Version](https://img.shields.io/npm/v/mediawiki-timestamp.svg)](https://npmjs.org/package/mediawiki-timestamp)
[![Downloads/week](https://img.shields.io/npm/dw/mediawiki-timestamp.svg)](https://npmjs.org/package/mediawiki-timestamp)
[![License](https://img.shields.io/npm/l/mediawiki-timestamp.svg)](https://github.com/yugenpartners/mediawiki-timestamp/blob/master/package.json)

<!-- toc -->
* [mediawiki-timestamp](#mediawiki-timestamp)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->
```sh-session
$ npm install -g mediawiki-timestamp
$ mwts COMMAND
running command...
$ mwts (-v|--version|version)
mediawiki-timestamp/1.0.1 linux-x64 node-v12.22.3
$ mwts --help [COMMAND]
USAGE
  $ mwts COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`mwts help [COMMAND]`](#mwts-help-command)
* [`mwts stamp EXPORT`](#mwts-stamp-export)
* [`mwts verify EXPORT RECEIPTS`](#mwts-verify-export-receipts)

## `mwts help [COMMAND]`

display help for mwts

```
USAGE
  $ mwts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_

## `mwts stamp EXPORT`

timestamp a MediaWiki ".xml" export

```
USAGE
  $ mwts stamp EXPORT

ARGUMENTS
  EXPORT  MediaWiki ".xml" export

OPTIONS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)
```

_See code: [src/commands/stamp.ts](https://github.com/yugenpartners/mediawiki-timestamp/blob/v1.0.1/src/commands/stamp.ts)_

## `mwts verify EXPORT RECEIPTS`

verify a MediaWiki ".xml" export against a ".ots.json" collection of OpenTimestamps receipts

```
USAGE
  $ mwts verify EXPORT RECEIPTS

ARGUMENTS
  EXPORT    ".xml" export from MediaWiki
  RECEIPTS  ".xml.ots.json" receipt collection from mwts

OPTIONS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)
```

_See code: [src/commands/verify.ts](https://github.com/yugenpartners/mediawiki-timestamp/blob/v1.0.1/src/commands/verify.ts)_
<!-- commandsstop -->

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