mirror of
https://github.com/axios/axios.git
synced 2026-04-11 02:11:50 +08:00
* ci: set hardened --ignore-scripts for all ci actions * docs: adds new docs platform * chore: remove un-needed ignore * chore: add sponsors data. adjust package.json to be of type module * fix: inconsistency between the docs and readme * fix: docs inconsistency * docs: update language and phrasing * style: fix issues with card styling * docs: update security.md with latest changes * docs: remove un-needed code * docs: fix inconsistencies with actual library function * ci: added deployment for docs * chore: added axios as dep for docs * docs: fix batch of errors * fix: bump esbuild as the version included is a risk
14 lines
338 B
JavaScript
14 lines
338 B
JavaScript
import chalk from 'chalk';
|
|
|
|
export const printSuccessMessage = (message) => {
|
|
console.log(chalk.green('Success:'), `${message}`);
|
|
};
|
|
|
|
export const printInfoMessage = (message) => {
|
|
console.log(chalk.blue('Info:'), `${message}`);
|
|
};
|
|
|
|
export const printErrorMessage = (message) => {
|
|
console.log(chalk.red('Error:'), `${message}`);
|
|
};
|