# @types/rdfjs__serializer-jsonld

> TypeScript definitions for @rdfjs/serializer-jsonld

Latest version **2.0.5** (published 2024-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/rdfjs__serializer-jsonld
pnpm add @types/rdfjs__serializer-jsonld
yarn add @types/rdfjs__serializer-jsonld
bun add @types/rdfjs__serializer-jsonld
```

## Health

**Score 50/100 (C)** — status: abandoned.

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2024-01-08 |
| First published | 2019-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@rdfjs/types](https://npm.io/package/@rdfjs/types.md) >=1.0.0

## Recent versions

- 2.0.5 (latest) — 2024-01-08
- 2.0.4 (ts4.5) — 2023-11-07
- 2.0.0 (ts4.3) — 2023-03-27
- 1.2.5 (ts3.6) — 2021-07-08
- 1.2.3 (ts3.2) — 2020-09-26
- 1.2.2 (ts2.8) — 2020-01-15
- 2.0.3 — 2023-10-18
- 2.0.2 — 2023-10-10
- 2.0.1 — 2023-09-27
- 1.2.4 — 2021-06-03
- 1.2.1 — 2020-01-03
- 1.2.0 — 2019-12-20

## README

# Installation
> `npm install --save @types/rdfjs__serializer-jsonld`

# Summary
This package contains type definitions for @rdfjs/serializer-jsonld (https://github.com/rdfjs-base/serializer-jsonld).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-jsonld.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-jsonld/index.d.ts)
````ts
import { BaseQuad, Quad, Sink, Stream } from "@rdfjs/types";
import { EventEmitter } from "events";

export interface SerializerOptions {
    encoding?: "string" | "object" | undefined;
}

export default class Serializer<Q extends BaseQuad = Quad> implements Sink<Stream<Q>, EventEmitter> {
    constructor(options?: SerializerOptions);

    import(stream: Stream<Q>, options?: SerializerOptions): EventEmitter;
}

````

### Additional Details
 * Last updated: Mon, 08 Jan 2024 20:35:39 GMT
 * Dependencies: [@rdfjs/types](https://npmjs.com/package/@rdfjs/types)

# Credits
These definitions were written by [Chris Wilkinson](https://github.com/thewilkybarkid), and [tpluscode](https://github.com/tpluscode).

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