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
1.0.1524 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1424 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1324 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1224 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1124 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1024 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.924 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.824 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.724 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.622 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.522 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.422 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.322 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.222 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.122 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.022 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