# Recommended Modules

> Sticking to this curated list of recommended modules will make sure you don't violate the plugin guidelines and ensure consistency across plugins.

[Writing a Plugin](README.md) > Recommended Modules

#### Replacing a file extension

Use [replace-ext](https://github.com/wearefractal/replace-ext)

#### Errors

Use [BetterError](https://github.com/contra/BetterError) when it is finished

#### String colors

Use [chalk](https://github.com/sindresorhus/chalk)

#### Date formatting

Use [dateformat](https://github.com/felixge/node-dateformat)

Display as `HH:MM:ss`

# Recommended Modules

> Sticking to this curated list of recommended modules will make sure you don't violate the plugin guidelines and ensure consistency across plugins.

[Writing a Plugin](README.md) > Recommended Modules

#### Replacing a file extension

Use [replace-ext](https://github.com/wearefractal/replace-ext)

#### Errors

Use [plugin-error](https://github.com/gulpjs/plugin-error)

#### String colors

Use [chalk](https://github.com/sindresorhus/chalk)

#### Date formatting

Use [dateformat](https://github.com/felixge/node-dateformat)

Display as `HH:MM:ss`

Replace BetterError with plugin-error reference
Docs: Replace BetterError with plugin-error reference
