Comparing version 2.0.21 to 2.0.22
{ | ||
"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). 👈** | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106409