New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

thinknodejs

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thinknodejs

Hello ThinkNodeJS! A Node.js MVC Framework use full ES6/7 features.

  • 2.7.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-62.5%
Maintainers
3
Weekly downloads
 
Created
Source

介绍

ThinkNode 是一款使用 ES6/7 特性全新开发的 Node.js MVC 框架,使用 ES6 中的 Promise 以及 ES7 中async/await特性彻底解决了 Node.js 中异步嵌套的问题。同时吸收了国内外众多框架的设计理念和思想(ThinkJS/Sails.js/ThinkPHP),让开发 Node.js 项目更加简单、高效。

特性

  • 使用 ES6/7 全部特性来开发项目
  • C(Core) + B(Behavior) + D(Driver)架构
  • 使用Sails.js ORM Waterline 支持 Mysql,MongoDB,postgresSql,SQLite 等多种数据库
  • 独特的 Model 预加载机制,支持动态加载,动态切换数据源
  • 开发模式下代码自动更新,无需重启 Node 服务
  • 支持 WebSocket、Restful
  • 支持 File、Redis、Memcache 等多种Session及Cache方式
  • 支持切面编程,支持 __before,_berore_xxx, _after_xxx 等多种魔术方法
  • 支持 ejs,jade 等模版引擎
  • 支持国际化和多主题

文档

https://www.gitbook.com/book/richenlin/thinknode-doc/details

快速开始

全局安装ThinkNode_kit

npm install -g thinknode_kit

创建项目

在合适的位置执行命令
thinknode new project_name

安装依赖

npm install

项目编译(开发模式下需要)

项目目录下的src目录是使用es6/7来写的源码,开启编译监听后会自动编译成为es5兼容代码到App目录

开启项目编译监听
cd project_path
npm run watch-compile

新打开一个命令窗口,启动服务

npm start

开始访问

打开浏览器,访问http://localhost:3000

贡献者

richenlin richerdlee lsliangshan

协议

MIT

Keywords

FAQs

Package last updated on 18 Apr 2016

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