Skip to content

Commit e68e741

Browse files
committed
Add npm note about extensions
1 parent e620b17 commit e68e741

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

API.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ The extension makes use of some common structures that need to be described prio
307307
* `validate` - an optional function to validate values that takes 4 parameters `params`, `value`, `state` and `options`. One of `setup` or `validate` **must** be provided.
308308
* `description` - an optional string or function taking the parameters as argument to describe what the rule is doing.
309309
310+
#### npm note
311+
312+
If you publish your extension on npm, make sure to add `joi` and `extension` as keywords so that it's discoverable more easily.
313+
310314
#### Examples
311315
312316
```js

0 commit comments

Comments
 (0)