We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b3bc6 commit e46828fCopy full SHA for e46828f
README.md
@@ -8,7 +8,7 @@ dynamic content on a single server. It extends
8
Installation
9
------------
10
11
-`npm install -g api`
+ npm install -g api
12
13
Usage
14
-----
@@ -58,6 +58,11 @@ defines `.conf/module` as the directory for submodules and registers one module
58
59
[stoopid]: https://github.com/mikeal/stoopid
60
61
+Each module may have its own configuration JSON files. These go directly into
62
+the `.conf` directory. Just create a JSON file with the name of the module
63
+(e.g. `.conf/example.json`) and it will be exposed to the `conf` parameter.
64
+
65
+Here’s the code of an example module.
66
67
`.conf/modules/example.js`:
68
0 commit comments