UNPKG

gitmoji-cli

Version:

A gitmoji client for using emojis on commit messages.

9 lines 209 B
import chalk from 'chalk'; import isURL from 'validator/lib/isURL.js'; const errors = { url: chalk.red('Enter a valid API URL') }; const url = url => isURL(url) ? true : errors.url; export default { url };