Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Full-stack agnostic framework for the web, built upon Bun and ElysiaJS.
Bonsai is a japanese art of growing and shaping miniature trees in containers
As the version implies (v0.x.x), this API is not yet stable and can be breaking changed without warnings.
BunSai is a full-stack, zero (production) dependency, agnostic framework for the web, built upon Bun and Elysia. You can install it:
bun add bunsai
And use it as a command:
bun run bunsai
Powered by Bun.build
, Elysia's routing system and some fancy tricks, BunSai takes an approach where each plugin declares which file extensions they want to work with. Then the app
folder is scanned using new Bun.Glob('app/**/*{<extensions>}')
. The matched files pass through building
and scripting
both for Bun and for the web. Finally, BunSai generates a script that exports an Elysia instance.
Most of the rules are dictated by the plugins, but there are a few "global" rules.
[foo]
sintax. Can be used in a folder (app/[foo]/index.svelte
) or a file (app/[foo].svelte
)[...]
syntax. Should be used only in a file (app/bar/[...].svelte
)FAQs
SSR Engine for Bun
The npm package bunsai receives a total of 0 weekly downloads. As such, bunsai popularity was classified as not popular.
We found that bunsai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.