From c7fb64e08f35dda181e70fee1cf2f6d1a646e988 Mon Sep 17 00:00:00 2001 From: Calvin Tan Date: Sat, 27 Mar 2021 23:19:27 +0800 Subject: [PATCH] [minor] readme changes --- package.json | 2 +- readme.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f93fe4b..91cf9d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "express-routemagic", - "version": "2.0.4", + "version": "2.0.5", "description": "A simple and fast, fire-and-forget module that all Nodejs+Express app should have, to automatically require all your express routes without bloating your code with `app.use('i/will/repeat/this', require('./i/will/repeat/this')`. 把 Express 路由图给自动化。", "main": "index.js", "scripts": { diff --git a/readme.md b/readme.md index 9247d01..25aa1c4 100644 --- a/readme.md +++ b/readme.md @@ -36,6 +36,9 @@ import magic from 'express-routemagic' magic.use(app) ``` +That's it! Continue to code everything else and let Magic take care of requiring your routes. +(Note: Scroll to bottom for much more options.) + ## Prologue The author's express app was simple at first. Right out of the box, everything seemed complete, nothing more was desired. But very quickly, it grew, and something felt amiss: the oddly familiar muscle reflex in performing ctrl c and p...