decodable-js

`decodable-js` is a TypeScript/JavaScript library inspired by Swift's Codable. It validates types in JSON data, strips unknown fields, and returns a clean object shaped exactly like your schema. Based on configuration, it can either throw on type mismatch

Package versions

36 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
2.0.518 May, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.316 Jan, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.215 Jan, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1623 Jul, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1525 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1425 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1325 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1225 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1125 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.1025 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.925 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.824 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.724 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.624 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.524 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.424 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.324 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.224 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.124 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1624 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free