MCPcopy
hub / github.com/thinkjs/thinkjs

github.com/thinkjs/thinkjs @v3.2.13 sqlite

repository ↗ · DeepWiki ↗ · release v3.2.13 ↗
241 symbols 385 edges 26 files 111 documented · 46%
README

ThinkJS

<a href="http://badge.fury.io/js/thinkjs">
  <img src="https://img.shields.io/npm/v/thinkjs.svg?style=flat-square" alt="NPM version" />
</a>
<a href="https://travis-ci.org/thinkjs/thinkjs">
  <img src="https://img.shields.io/travis/thinkjs/thinkjs.svg?style=flat-square" alt="travis-ci" />
</a>
<a href="https://coveralls.io/github/thinkjs/thinkjs">
  <img src="https://img.shields.io/coveralls/thinkjs/thinkjs.svg?style=flat-square" alt="Coverage Status" />
</a>
<a href="https://david-dm.org/thinkjs/thinkjs">
  <img src="https://img.shields.io/david/thinkjs/thinkjs.svg?style=flat-square" alt="Dependency Status" />
</a>

Use full ES2015+ features to develop Node.js applications, Support TypeScript.

安装 ThinkJS

npm install -g think-cli

创建项目

thinkjs new demo

安装依赖

npm install

启动服务

npm start

启动后,会看到类似下面的信息:

[2017-05-22 15:54:58.281] [INFO] - Server running at http://127.0.0.1:8360
[2017-05-22 15:54:58.283] [INFO] - ThinkJS version: 3.0.0-alpha1
[2017-05-22 15:54:58.283] [INFO] - Environment: development
[2017-05-22 15:54:58.284] [INFO] - Workers: 1

文档

https://thinkjs.org/

License

MIT

Extension points exported contracts — how you extend this code

Logic (Interface)
(no doc) [1 implementers]
index.d.ts
Application (Interface)
(no doc)
index.d.ts
Request (Interface)
(no doc)
index.d.ts
Response (Interface)
(no doc)
index.d.ts
ThinkCookie (Interface)
(no doc)
index.d.ts

Core symbols most depended-on inside this repo

config
called by 34
index.d.ts
param
called by 22
index.d.ts
post
called by 18
index.d.ts
getApplication
called by 15
test/case/application.js
fail
called by 10
index.d.ts
service
called by 9
index.d.ts
run
called by 9
lib/application.js
file
called by 8
index.d.ts

Shape

Function 109
Method 89
Class 30
Interface 13

Languages

TypeScript100%

Modules by API surface

index.d.ts58 symbols
test/lib/mockie.js42 symbols
lib/extend/controller.js32 symbols
test/case/extend/controller.js28 symbols
lib/extend/context.js21 symbols
lib/application.js15 symbols
lib/loader.js10 symbols
test/case/extend/context.js9 symbols
lib/think.js8 symbols
test/case/application.js7 symbols
test/lib/utils.js4 symbols
test/case/loader.js4 symbols

Dependencies from manifests, versioned

ava0.18.0 · 1×
cookies0.8.0 · 1×
debug3.1.0 · 1×
destroy1.0.4 · 1×
eslint4.2.0 · 1×
eslint-config-think1.0.2 · 1×
koa2.2.0 · 1×
mkdirp0.5.1 · 1×
mock-require2.0.1 · 1×
nyc7.0.0 · 1×
on-finished2.3.0 · 1×
pre-commit1.2.2 · 1×

For agents

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

⬇ download graph artifact