MCPcopy
hub / github.com/derbyjs/derby

github.com/derbyjs/derby @v4.2.3 sqlite

repository ↗ · DeepWiki ↗ · release v4.2.3 ↗
925 symbols 2,097 edges 53 files 20 documented · 2%
README

Test

Derby

The Derby MVC framework makes it easy to write realtime, collaborative applications that run in both Node.js and browsers.

Derby includes a powerful data synchronization engine called Racer that automatically syncs data among browsers, servers, and a database. Models subscribe to changes on specific objects, enabling granular control of data propagation without defining channels. Racer supports offline usage and conflict resolution out of the box, which greatly simplifies writing multi-user applications.

Derby applications load immediately and can be indexed by search engines, because the same templates render on both server and client. In addition, templates define bindings, which instantly update the view when the model changes and vice versa. Derby makes it simple to write applications that load as fast as a search engine, are as interactive as a document editor, and work offline.

See docs here: https://derbyjs.github.io/derby/

Main site: https://derbyjs.com/

Examples here: https://github.com/derbyjs/derby-examples

Running Tests

Run unit tests:

npm test

Run browser tests:

This will prompt to open a browser to run front-end tests

npm run test-browser

Getting in touch

Create an issue or reach out to the derbyjs team.

Further resources: https://derbyjs.com/resources

MIT License

Copyright (c) 2011-2021 by Nate Smith

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Extension points exported contracts — how you extend this code

HasDependencies (Interface)
(no doc) [31 implementers]
src/templates/templates.ts
StyleCompilerOptions (Interface)
(no doc)
src/files.ts
DataConstructor (Interface)
(no doc)
src/components.ts
Agent (Interface)
(no doc)
src/AppForServer.ts
EventMap (Interface)
(no doc)
src/Dom.ts
Model (Interface)
(no doc)
src/PageForServer.ts
AppOptions (Interface)
(no doc)
src/App.ts
PageParams (Interface)
(no doc)
src/routes.ts

Core symbols most depended-on inside this repo

get
called by 237
src/templates/templates.ts
register
called by 192
src/templates/templates.ts
html
called by 162
src/test-utils/assertions.ts
set
called by 136
src/eventmodel.ts
createHarness
called by 92
src/test-utils/domTestRunner.ts
dependencies
called by 84
src/templates/templates.ts
getFragment
called by 71
src/templates/templates.ts
createExpression
called by 68
src/parsing/index.ts

Shape

Method 436
Function 276
Class 185
Interface 28

Languages

TypeScript100%

Modules by API surface

src/templates/templates.ts307 symbols
src/templates/expressions.ts132 symbols
src/parsing/index.ts59 symbols
src/components.ts49 symbols
src/eventmodel.ts45 symbols
src/Page.ts34 symbols
src/AppForServer.ts33 symbols
src/test-utils/ComponentHarness.ts31 symbols
src/App.ts30 symbols
src/templates/contexts.ts25 symbols
src/Dom.ts21 symbols
src/parsing/createPathExpression.ts20 symbols

Dependencies from manifests, versioned

@types/chai4.3.11 · 1×
@types/esprima-derby
@types/estree1.0.1 · 1×
@types/express4.17.18 · 1×
@types/mocha10.0.6 · 1×
@types/node20.3.1 · 1×
@types/qs6.9.11 · 1×
@types/resolve1.20.6 · 1×
@types/sharedb3.3.10 · 1×
@typescript-eslint/eslint-plugin6.2.1 · 1×
@typescript-eslint/parser6.2.1 · 1×
async3.2.4 · 1×

Datastores touched

(mongodb)Database · 1 repos

For agents

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

⬇ download graph artifact