Glossary: Building APIs with Node.js
Plugin, prefix
Also written: plugin, prefix
A plugin is an `async` function that adds routes to an app. The prefix is the URL start they share, so a plugin's `/` under prefix `/products` answers `GET /products`.
Glossary: Building APIs with Node.js
Also written: plugin, prefix
A plugin is an `async` function that adds routes to an app. The prefix is the URL start they share, so a plugin's `/` under prefix `/products` answers `GET /products`.