UNPKG

ts-shasum

Version:

Compute and check SHA256 message digest.

30 lines (20 loc) 773 B
# shasum [![Test](https://github.com/kjxbyz/shasum/actions/workflows/test.yml/badge.svg)](https://github.com/kjxbyz/shasum/actions/workflows/test.yml) [![Publish](https://github.com/kjxbyz/shasum/actions/workflows/publish.yml/badge.svg)](https://github.com/kjxbyz/shasum/actions/workflows/publish.yml) [![NPM Version](https://img.shields.io/npm/v/ts-shasum)](https://www.npmjs.com/package/ts-shasum) [![NPM Downloads](https://img.shields.io/npm/dy/ts-shasum)](https://www.npmjs.com/package/ts-shasum) [![NPM License](https://img.shields.io/npm/l/ts-shasum)](https://github.com/kjxbyz/shasum/blob/main/LICENSE) ## Install ```bash npm i ts-shasum ``` ## Debug ```bash npx ts-shasum -h ``` ## Tests ```bash shasum --algorithm 256 -c SHASUMS256.txt ``` ## License MIT