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

bridge

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bridge - npm Package Compare versions

Comparing version 2.0.21 to 2.0.22

2

package.json
{
"name": "bridge",
"version": "2.0.21",
"version": "2.0.22",
"description": "Bridge is a Typescript Node.js framework that provides an easy and scalable way to create REST APIs while generating the client code.",

@@ -5,0 +5,0 @@ "author": "Bridge Team <support@bridge.codes>",

<div align="center">
<a href="https://bridge.codes">
<img src="https://pbs.twimg.com/profile_images/1603953549037080576/pXOaHTde_400x400.png" height="120" />
<img src="https://pbs.twimg.com/profile_images/1603953549037080576/pXOaHTde_400x400.png" height="120" />
</a>
</div>
<div align="center">

@@ -23,7 +26,7 @@ <a href="https://twitter.com/bridge_codes">

**👉 See more informations on [bridge.codes](https://bridge.code). 👈**
**👉 See more informations on [bridge.codes](https://bridge.code) 👈**
## Quickstart
There are a few [examples](https://github.com/bridge-codes/bridge/tree/main/examples) that you can use for playing out with Bridge or bootstrapping your new project.
There are a few [examples](https://github.com/bridge-codes/bridge/tree/main/examples) that you can use for playing out with Bridge or bootstrapping your new project.

@@ -45,3 +48,3 @@ **Quick start by creating a project with create-bridge-app:**

npm i bridge
npm i typescript --save-dev
npm i typescript --save-dev
```

@@ -67,3 +70,3 @@

npm i bridge express
npm i typescript @types/express --save-dev
npm i typescript @types/express --save-dev
```

@@ -123,4 +126,4 @@

```typescript
import z from 'zod'
import { apply } from 'bridge'
import z from 'zod';
import { apply } from 'bridge';

@@ -149,3 +152,3 @@ const authMiddleware = handler({

```typescript
import { initBridge, onError } from 'bridge'
import { initBridge, onError } from 'bridge';

@@ -157,8 +160,5 @@ const errorHandler = onError(({ error, path }) => {

const bridge = initBridge({ routes, errorHandler })
const bridge = initBridge({ routes, errorHandler });
```
**👉 See full documentation on [bridge.codes](https://bridge.codes/documentation). 👈**
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