UNPKG

strapi-plugin-request-id

Version:

Add a unique id to each request made to your server and track your users' activity in the logs.

11 lines (8 loc) 175 B
const pluginPkg = require("../../package.json"); const pluginId = pluginPkg.name.replace( /^(@[^-,.][\w,-]+\/|strapi-)plugin-/i, "" ); module.exports = { pluginId, };