UNPKG

strapi-plugin-transformer

Version:

A plugin for Strapi Headless CMS that provides the ability to transform the API request and/or response.

15 lines (11 loc) 254 B
'use strict'; const { pluginId } = require('./pluginId'); /** * A helper function to obtain a plugin service * * @return service */ const getPluginService = (name) => strapi.plugin(pluginId).service(name); module.exports = { getPluginService, };