https://github.com/thinkjs/think-logic
Invoke logic middleware for ThinkJS 3.x
https://github.com/thinkjs/think-logic
logic thinkjs3
Last synced: 12 days 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T15:48:19.000Z (almost 4 years ago)
- Last Synced: 2025-03-22T03:51:17.308Z (28 days ago)
- Topics: logic, thinkjs3
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 10
- Forks: 3
- 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) |  |  |  | Invoke logic action | (Middlewares)
README
# think-logic
[](https://travis-ci.org/thinkjs/think-logic)
[](https://coveralls.io/github/thinkjs/think-logic?branch=master)
[](https://www.npmjs.com/package/think-logic)
[](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
]
```