Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thinkjs

Package Overview
Dependencies
Maintainers
4
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thinkjs

A Node.js MVC Web Framework Based On Promise

  • 1.2.13
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
655
decreased by-4.1%
Maintainers
4
Weekly downloads
 
Created
Source

NPM version travis-ci Coverage Status

介绍

thinkjs是一款基于Promise的Node.js MVC框架,借鉴于ThinkPHP。具有如下特性:

  • 使用Promise,完美的解决了异步嵌套的问题
  • 支持Http、命令行、WebSocket、Restful等多种访问方式
  • C(Core) + B(Behavior) + D(Driver)架构
  • 封装了Db、Session、Cache等功能
  • 开发模式下修改后立即生效

安装

npm install -g thinkjs-cmd

创建项目

# 在合适的位置创建一个新目录,new_dir_name为你想创建的文件夹名字
mkdir new_dir_name; 
# 通过thinkjs命令创建项目
thinkjs new_dir_name

执行后,如果当前环境有浏览器,会自动用打开浏览器,并且会看到如下内容。

hello, thinkjs!

看到这个内容后,说明项目已经成功创建。

更多介绍请见 http://thinkjs.org/doc/start.html

贡献者

   944  welefen                 94.8%
    14  李成银                   1.4%
     7  akira                   0.7%
     5  Rayi                    0.5%
     5  炎燎                     0.5%
     4  JerryQu                 0.4%
     3  wavelynn                0.3%
     3  zhangdaiping            0.3%
     2  AlphaTr                 0.2%
     2  Startan                 0.2%
     2  jiangyuan               0.2%
     1  snadn                   0.1%
     1  qgy18                   0.1%
     1  liupengke               0.1%
     1  akira-cn                0.1%
     1  Jackson Tian            0.1%

协议

MIT

Keywords

FAQs

Package last updated on 12 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc