joi bukan string kosong

var joi = require('joi')

// check if not empty string
const notEmptyString = joi.string().regex(/^[^\s]+$/).required()
simpaul13