@ggmath/logchain

0.2.0Β β€’Β PublicΒ β€’Β Published

Logchain

Pipeline status Coverage report

Dependencies License Package

Logging secured by blockchain πŸ“œβ›“οΈ

Logs get chained

The current log line contains the signature of the previous line with your secret.

  • detect lines deleted / lost
  • detect logs tampering

Philosophy

The package is intended to be a lightweight util for generating incorruptible logs.

For this pupose we rely as much as possible on standard packages: few dependencies, high quality.

The formatters are easy extensible by simply deriving from Basic.

Usage

Install

npm install node-logchain

Choose your log type

Init once in main

Use everywhere with standard logging

Check your logs integrity afterwards


Contributing

Install

The code is hosted on Gitlab 🦊

Simply clone and submit pull requests.

Testing

The unit tests are located along with the sources and discovered by jest.

# Run all
npm test

Releasing

The process is triggered by a tag added to a commit. The tag must match the pattern release_<VERSION> and VERSION has to comply to semver.

A CI/CD job handles the new tag event and publishes the package to npmjs.

Package Sidebar

Install

npm i @ggmath/logchain

Weekly Downloads

2

Version

0.2.0

License

ISC

Unpacked Size

4.05 kB

Total Files

6

Last publish

Collaborators

  • ggmath