Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kmudrick/io-ts-openapi

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kmudrick/io-ts-openapi - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "@kmudrick/io-ts-openapi",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",

@@ -21,3 +21,3 @@ "main": "./dist/index.js",

"prepare": "npm run build",
"version": "npm run build && git add -A dist",
"version": "npm run build",
"postversion": "git push && git push --tags"

@@ -24,0 +24,0 @@ },

# io-ts-openapi
> Generates io-ts codecs from the models of an OpenAPI Spec
> Generates typescript io-ts codecs from the models of an OpenAPI Spec
## Background
[io-ts](https://github.com/gcanti/io-ts/blob/master/index.md) is a fantastic Typescript library that uses **_parser combinators_** for building static types and typed runtime codecs that can be used for validation (type guards), encoding, and decoding.
This project uses [io-ts-codegen](https://gcanti.github.io/io-ts-codegen/) to generate these types and codecs from the models of an openapi document.
Future enhancements will target support for refined types and alternate implementations (like Js-Joda for Date/Time types).
## Usage

@@ -6,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc