Code Monkey home page Code Monkey logo

bun-nook-kit-docs's Introduction

Bun Nook Kit

![[BNK Logo.webp]] Bun Nook Kit (BNK) is a comprehensive toolkit for software development, leveraging the power of Bun and TypeScript. With zero third-party dependencies, strong TypeScript inferencing, and a focus on Web API standards, BNK offers a modular, type-safe, and efficient way to build robust applications.

GitHub License

npm GitHub release (with filter) Stars npm bundle size Libraries.io dependency status for latest release

X (formerly Twitter) Follow Discord

Quickstart

bash <(curl -fsSL https://raw.githubusercontent.com/brandon-schabel/bun-nook-kit/main/scripts/quickstart.sh)

After you run the quickstart script it'll prompt you with the code to add to your zshrc/bashrc, this CLI script will point to the latest version of bnkit when using the CLI

Bun Nook Kit has a variety of module to help you build any web based application from a CLI to a fullstack web server. Plug the modules into an existing project as long as you can run Bun, or start your next project entirely on BNK and experience a much simpler development experience.

Key Features

  • Zero Third-Party Dependencies: BNK relies solely on Bun, ensuring lightweight and efficient operation.
  • Strong TypeScript Type Inferencing: Enhances code reliability and eases development with powerful type support.
  • Modular Design: Provides flexibility to use only what you need for your project.
  • Web API Standards: Ensures broad compatibility and future-proofing.

Stop Analysis Paralysis and Start Building

The goal of BNK is to provide a set of tools in which a developer can rapidly develop full-stack interactive JavaScript application with no additional dependencies, BNK relies on nothing but the APIs provided by Bun. Bun is now on >1.0 and is stable and as such BNK is focusing on providing a stable 1.0 release to lock in the APIs.

Use What You need

Build a full stack server with templating:

Example of how you use the following modules to build out a full stack server

  • Server Module handle the application business logic - generate webpages on the server with...
  • HTMLody Module HTML templating with JSON object syntax. With a Tailwind-like CSS utility library!
  • SQLite Module store permanent data!
  • Auth Module - If your application requires it!

Community

Join our Discord Server for support, discussions, and updates.

Screenshots

An HTMLody component, as well the TypeScript inference abilities as all the types shown in the in intellisense were inferred from the SQLite schema configured for the user subscription.

Xnapper-2023-11-15-00 26 10

The next two screenshots show how easy it can be to create and start a server - even with middleware with great type inference.

Xnapper-2023-11-14-19 43 47 Xnapper-2023-11-14-19 47 14

Lastly, an example showing direct importing from the htmlody module.

Xnapper-2023-11-14-19 51 14

For those on GitHub:

License

BNK is available under the MIT License - free for personal and commercial use.


Bun Nook Kit - An attempt at keeping developers out of dependency hell.

Contribute to The Docs: Bun Nook Kit Docs GitHub

bun-nook-kit-docs's People

Contributors

brandon-schabel avatar

Stargazers

 avatar unknown.branch avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.