From e68e741f9418a0566ddb0f203f02c7c93c7968d1 Mon Sep 17 00:00:00 2001 From: Nicolas Morel Date: Sun, 24 Jul 2016 12:57:11 +0200 Subject: [PATCH] Add npm note about extensions --- API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/API.md b/API.md index b6175674d..99f889296 100755 --- a/API.md +++ b/API.md @@ -307,6 +307,10 @@ The extension makes use of some common structures that need to be described prio * `validate` - an optional function to validate values that takes 4 parameters `params`, `value`, `state` and `options`. One of `setup` or `validate` **must** be provided. * `description` - an optional string or function taking the parameters as argument to describe what the rule is doing. +#### npm note + +If you publish your extension on npm, make sure to add `joi` and `extension` as keywords so that it's discoverable more easily. + #### Examples ```js