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

zodios

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zodios - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

2

package.json
{
"name": "zodios",
"description": "Typescript API client with autocompletion and zod validations",
"version": "0.0.4",
"version": "0.1.0",
"main": "lib/index.js",

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

@@ -38,3 +38,3 @@ # ZODIOS

```typescript
import { Zodios } from "../src/index";
import { Zodios } from "zodios";
import { z } from "zod";

@@ -66,5 +66,7 @@

);
// auto-complete url auto-complete params
// ▼ ▼
const user = await apiClient.get("/users/:id", { params: { id: 7 } });
console.log(user);
// Output: { id: 7, name: 'Kurtis Weissnat' }
```
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