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

runtypes

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runtypes - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

package.json
{
"name": "runtypes",
"version": "0.3.0",
"description": "Runtime type validation for (Java|Type)Script",
"version": "0.3.1",
"description": "Runtime validation for static types",
"main": "./lib/index.js",

@@ -6,0 +6,0 @@ "types": "./lib/index.d.ts",

@@ -17,4 +17,3 @@ # Runtypes [![Build Status](https://travis-ci.org/pelotom/runtypes.svg?branch=master)](https://travis-ci.org/pelotom/runtypes)

Suppose you have objects which represent asteroids, planets, ships and personnel. In TypeScript, you might model
them like so:
Suppose you have objects which represent asteroids, planets, ships and crew members. In TypeScript, you might write their types like so:

@@ -21,0 +20,0 @@ ```ts

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