New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typa

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typa - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

2

package.json
{
"name": "typa",
"version": "0.1.15",
"version": "0.1.16",
"description": "JavaScript type checker utility",

@@ -5,0 +5,0 @@ "main": "dist/typa.min.js",

@@ -62,13 +62,13 @@ Typa

```
const myString = 'this is a string'
const myArray = 'this is also a string, not an array'
const myString = 'this is a string'
const myArray = 'this is also a string, not an array'
const fn1 = (() => console.log('hello'))
const fn2 = (() => console.log('goodbye'))
const fn1 = (() => console.log('hello'))
const fn2 = (() => console.log('goodbye'))
is.typa('str', myString, fn1, fn2)
// => 'hello'
is.typa('str', myString, fn1, fn2)
// => 'hello'
is.typa('arr', myArray, fn1, fn2)
// => 'goodbye'
is.typa('arr', myArray, fn1, fn2)
// => 'goodbye'
```

@@ -75,0 +75,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