Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinkjs/think-logic
Invoke logic middleware for ThinkJS 3.x
https://github.com/thinkjs/think-logic
logic thinkjs3
Last synced: 2 months ago
JSON representation
Invoke logic middleware for ThinkJS 3.x
- Host: GitHub
- URL: https://github.com/thinkjs/think-logic
- Owner: thinkjs
- License: mit
- Created: 2017-03-28T10:09:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T15:48:19.000Z (over 3 years ago)
- Last Synced: 2024-10-26T22:53:17.478Z (3 months ago)
- Topics: logic, thinkjs3
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- think-awesome - think-logic - johann](https://github.com/toxic-johann) | ![version](https://img.shields.io/npm/v/think-logic.svg) | ![](https://travis-ci.org/thinkjs/think-logic.svg) | ![](https://coveralls.io/repos/github/thinkjs/think-logic/badge.svg) | Invoke logic action | (Middlewares)
README
# think-logic
[![Build Status](https://img.shields.io/travis/thinkjs/think-logic/master.svg?style=flat-square)](https://travis-ci.org/thinkjs/think-logic)
[![Coverage Status](https://img.shields.io/coveralls/thinkjs/think-logic/master.svg?style=flat-square)](https://coveralls.io/github/thinkjs/think-logic?branch=master)
[![npm](https://img.shields.io/npm/v/think-logic.svg?colorB=brightgreen&style=flat-square)](https://www.npmjs.com/package/think-logic)
[![devDependency Status](https://david-dm.org/thinkjs/think-logic.svg)](https://david-dm.org/thinkjs/think-logic)Invoke logic for ThinkJS 3.x
## Install
```
npm install think-logic
```## How to use
config file `src/config/middleware.js`
```js
const logic = require('think-logic');module.exports = [
logic
]
```