Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/knott-dev/knott-js

Knott is a tiny virtual dom library for building & styling fast, lightweight web components. Everything runs on the memory. It's fast!
https://github.com/knott-dev/knott-js

dom-styling vanilla-js virtual-dom-library

Last synced: about 1 month ago
JSON representation

Knott is a tiny virtual dom library for building & styling fast, lightweight web components. Everything runs on the memory. It's fast!

Awesome Lists containing this project

README

        

> This project is on development stage.

> Thanks for support and feedback!


Knott JS

# Web Component, Virtual CSS, and Virtual DOM.

[![npm version](https://badge.fury.io/js/knott.svg)](https://badge.fury.io/js/knott)
[![npm downloads](https://img.shields.io/npm/dm/knott.svg)](https://www.npmjs.com/package/knott)

## Introduction

**Knott** is a tiny (4 kilobytes) virtual dom library for building and styling fast, lightweight web components that everything runs on the memory, it's fast!

[Read the documentation](https://knottjs.netlify.app)

[![Netlify Status](https://api.netlify.com/api/v1/badges/0bc0b517-0683-4ddc-a41c-ad5ecb845701/deploy-status)](https://app.netlify.com/sites/knottjs/deploys)

## Getting Started

```bash
$ npm i knott --save-dev
```

## CLI

Create an empty template to learn how to use `Knott.js` with CLI (command-line interface). Without installing anything to setup a new project. After the installation, follow the on-screen instructions and you are done setup.

```bash
$ npx knott-cli@latest my-new-knott-project
```

## Playground

The [Playground](https://knottjs.netlify.app/playground/) is an online code editor, you can use it for testing or just playing around with `Knott.js` on the go. _If you don't find the **CLI** is more convenient._

[**Launch Playground**](https://knottjs.netlify.app/playground/) now!

[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)