Socket
Socket
Sign inDemoInstall

bunsai

Package Overview
Dependencies
40
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.1.0

6

package.json
{
"name": "bunsai",
"version": "2.0.1",
"version": "2.1.0",
"module": "./src/core/index.ts",
"description": "(un)official Bun SSR engine",
"repository": "levii-pires/bunsai2",

@@ -88,6 +89,7 @@ "devDependencies": {

"bun",
"router",
"ssr",
"svelte",
"react",
"plugin"
]
}

@@ -1,2 +0,2 @@

<p align="center"><img style="width: 25%" src="https://github.com/levii-pires/bunsai2/blob/main/assets/logo.png?raw=true"></p>
<p align="center"><img width="300rem" height="300rem" src="https://github.com/levii-pires/bunsai2/blob/main/assets/logo.png?raw=true"></p>

@@ -21,2 +21,4 @@ <h1 align="center">BunSai 2</h1>

### Adapters
| Framework/API | Example |

@@ -31,2 +33,12 @@ | --------------------------------------------------- | ------------------------------------------------------------- |

### Web libraries and plugins
Currently BunSai supports Svelte and React. Check [`examples`](./examples/src/).
[Svelte](https://svelte.dev/) is a framework and has a compiler, thus having a higher level DX. That means you have to use plugins, write "Svelte code" and you have access to global injected variables.
On the other hand, [React](https://react.dev/) is a library and have a much lower level DX. Its just Typescript (or Javascript, but who uses plain JS these days?).
To avoid having a README full of information and difficult to understand, I will put all the information on the (coming soon) BunSai documentation web page.
### Dev mode

@@ -177,1 +189,3 @@

> Check the [StandaloneModule](./src/core/module.ts) interface
Please note that React, being a library, has an library approach. That means no plugin.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc