Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3.2 to 0.3.3

2

package.json
{
"name": "typa",
"description": "Super-simple, zero-dependency JavaScript type checker utility.",
"version": "0.3.2",
"version": "0.3.3",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

@@ -5,3 +5,3 @@ # Typa: Zero-dep JS type checker 🧐

The easy-peasy zero-dependency JavaScript type checker that asks, "What typa input is that?"
The easy-peasy zero-dependency JavaScript type checker that asks, "What typa input is that?" Minified packaged version is 2 entire KB.

@@ -167,6 +167,7 @@ **Notice:** Breaking changes in v0.3.0. New bundler, plus `nll` is now `nil` and `noru` is now `nullish`.

<a name="json"></a>**.json**(\$value) — Serialized JSON object
<a name="json"></a>**.json**(\$value, \$type ['str'|'obj']) — Serialized JSON object
```js
const isJson = is.json('{"key": "value"}')
const isJson = is.json({ key: 'value' }, 'obj')
// => true

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