Skip to content

tscpp/knuckles

Repository files navigation

Knuckles: Development Toolkit for Knockout.js

GitHub Actions Workflow Status GitHub License NPM Downloads Open in Dev Container

What is Knuckles?

Knuckles is a development toolkit designed to enhance the developer experience (DX) using Knockout.js. It offers a range of useful tools for analyzing and optimizing Knockout.js applications. Each tool is entirely standalone and can be used independently. See website ›

No knockout without knuckles! 👊

Features

Analyzer

The analyzer allows you to check for issues in Knockout views before production. It allows you to utilize external tools, such as TypeScript and ESLint, to check the bindings, while also providing a set of useful rules to catch common misstakes. Read more ›

TypeScript

As a plugin to the analyzer, it can type-check the bindings in your Knockout views and provides a generated snapshot which other tools can use to provide type-aware analysis. Read more ›

ESLint

As a plugin to the analyzer, it can lint bindings using existing rules for JavaScript and TypeScript (with type-aware rules). Read more ›

SSR

Server-side rendering (SSR) allows you to render data into the view before handing it to the client to render. This can be used to greatly optimize runtime performance and SEO. Read more ›

Editor Support

Implementaion currently only exists for VSCode.

The language server provides language features to Knockout views, such as "go to definition", highlighting, diagnostics (from analyzer).

License

All source code is licensed under the MIT license.

Versioning

Verions adhear to Semantic Versioning (SemVer) v2.0.0.