# @emurgo/cardano-serialization-lib-nodejs

> (De)serialization functions for the Cardano blockchain along with related utility functions

Latest version **17.0.0** (published 2026-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @emurgo/cardano-serialization-lib-nodejs
pnpm add @emurgo/cardano-serialization-lib-nodejs
yarn add @emurgo/cardano-serialization-lib-nodejs
bun add @emurgo/cardano-serialization-lib-nodejs
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 17.0.0 |
| Published | 2026-08-07 |
| First published | 2020-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 248 |
| Author | EMURGO |
| Maintainers | vsubhuman, stackchain, lisicky_emurgo, cryptotitan |

## Links

- npm: https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs
- Repository: https://github.com/Emurgo/cardano-serialization-lib
- Homepage: https://github.com/Emurgo/cardano-serialization-lib#readme
- Issues: https://github.com/Emurgo/cardano-serialization-lib/issues
- npm.io page: https://npm.io/package/@emurgo/cardano-serialization-lib-nodejs

## Recent versions

- 17.0.0 (latest) — 2026-08-07
- 16.0.0-beta.1 (beta) — 2026-05-25
- 16.0.0 — 2026-08-01
- 15.0.3 — 2025-11-13
- 15.0.2 — 2025-11-13
- 15.0.2-beta.2 — 2025-09-17
- 15.0.2-beta.1 — 2025-09-02
- 15.0.1 — 2025-08-27
- 15.0.1-beta.1 — 2025-08-07
- 15.0.0 — 2025-07-14
- 15.0.0-beta.1 — 2025-06-30
- 14.1.2 — 2025-05-15
- 14.1.2-beta.2 — 2025-05-05
- 14.1.1 — 2025-02-11
- 14.1.0 — 2025-02-07
- … 158 more at https://npm.io/package/@emurgo/cardano-serialization-lib-nodejs/versions

## README

# Cardano Serialization Lib

This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.

##### NPM packages

- [NodeJS WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs)
- [Browser (chrome/firefox) WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser)
- [Browser (pure JS - no WASM) ASM.js package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs)

##### NPM packages with GC support 
Note: This package uses [weak references flag from wasm-bindgen](https://rustwasm.github.io/wasm-bindgen/reference/weak-references.html).
It uses `FinalizationRegistry` under the hood to automatically call "free" for each CSL struct when it is no longer needed. However, use this feature with caution as it may have unpredictable behaviors.
- [NodeJS WASM package with GC](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs-gc)
- [Browser (chrome/firefox) WASM package with GC](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser-gc)
- [Browser (pure JS - no WASM) ASM.js package with GC](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs-gc)


##### Rust crates

- [cardano-serialization-lib](https://crates.io/crates/cardano-serialization-lib)

##### Mobile bindings

- [React-Native mobile bindings](https://github.com/Emurgo/react-native-haskell-shelley)

## Documentation

You can find documentation [here](https://developers.cardano.org/docs/get-started/cardano-serialization-lib/overview)

---
_Source: https://npm.io/package/@emurgo/cardano-serialization-lib-nodejs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
