MCPcopy Index your code
hub / github.com/astoilkov/jsblocks

github.com/astoilkov/jsblocks @0.3.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.3.5 ↗ · + Follow
412 symbols 809 edges 113 files 19 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

jsblocks    Build Status

Better MV-ish Framework

From simple user interfaces to complex single-page applications using faster, server-side rendered and easy to learn framework.

[ official website ]

I am also working on a Markdown Editor. I will appreciate it if you check it out and tell me what you think.

Features

Getting started

Just copy and paste the code below for your first jsblocks application. Continue with the documentation and the jsblocks starter template project

<!DOCTYPE html>
<html>
  <head>
    <script src="http://jsblocks.com/blocks/0.3.2/blocks.js"></script>
    <script>
      blocks.query({
        firstName: blocks.observable()
      });
    </script>
  </head>
  <body>
    Name:
    <input data-query="val(firstName)" placeholder="Enter your name here" />
    <hr />
    <h1>Hello {{firstName}}!</h1>
  </body>
</html>

Example projects

Ask a question

Contribute

Core symbols most depended-on inside this repo

testValidation
called by 134
test/spec/mvc/validation.js
query
called by 112
test/spec/query/attribute-queries.js
setQuery
called by 101
test/spec/query/attribute-queries.js
observable
called by 83
src/query/observable.js
query
called by 71
test/spec/query/queries.js
setQuery
called by 70
test/spec/query/queries.js
setQuery
called by 53
test/spec/query/contexts.js
query
called by 53
test/spec/query/contexts.js

Shape

Function 412

Languages

TypeScript100%

Modules by API surface

lib/jasmine-2.2.0/jasmine.js108 symbols
lib/jquery-1.11.2/jquery-1.11.2.js86 symbols
lib/blocks/value-nocore.js21 symbols
lib/jasmine-2.2.0/jasmine-html.js15 symbols
lib/blocks/jsdebug.js14 symbols
test/blocks.testing.js11 symbols
lib/jasmine-2.2.0/console.js9 symbols
test/spec/query/observables.dom.js7 symbols
lib/blocks/core.js7 symbols
src/query/animation.js6 symbols
test/spec/query/queries.js5 symbols
test/spec/query/observables.comments.js5 symbols

For agents

$ claude mcp add jsblocks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact