# @types/jsum

> TypeScript definitions for jsum

Latest version **0.1.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jsum
pnpm add @types/jsum
yarn add @types/jsum
bun add @types/jsum
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2023-11-07 |
| First published | 2019-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jsum
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsum
- npm.io page: https://npm.io/package/@types/jsum

## Recent versions

- 0.1.2 (latest) — 2023-11-07
- 0.1.0 (ts2.0) — 2019-06-10
- 0.1.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/jsum`

# Summary
This package contains type definitions for jsum (https://github.com/fraunhoferfokus/JSum#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsum.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsum/index.d.ts)
````ts
/**
 * Creates hash of given JSON object.
 *
 * @param obj JSON object
 * @param hashAlgorithm hash algorithm (e.g. SHA256)
 * @param encoding hash encoding (e.g. base64) or none for buffer
 */
export function digest(obj: any, hashAlgorithm: string, encoding: string): string;

/**
 * Stringifies a JSON object (not any random JS object).
 *
 * It should be noted that JS objects can have members of
 * specific type (e.g. function), that are not supported
 * by JSON.
 *
 * @param obj JSON object
 * @returns stringified JSON object.
 */
export function stringify(obj: any): string;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [David Uzumeri](https://github.com/daviduzumeri).

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