You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: API.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -307,6 +307,10 @@ The extension makes use of some common structures that need to be described prio
307
307
* `validate` - an optional function to validate values that takes 4 parameters `params`, `value`, `state` and `options`. One of `setup` or `validate` **must** be provided.
308
308
* `description` - an optional string or function taking the parameters as argument to describe what the rule is doing.
309
309
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.
0 commit comments