{"_id":"@devx-strapi/strapi-slug-creator","_rev":"2-16b4326cfc4005e78c8e93cfc4b9e9ba","name":"@devx-strapi/strapi-slug-creator","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@devx-strapi/strapi-slug-creator","version":"0.1.0","keywords":[],"author":{"name":"devx","email":"tomasz@devx.agency"},"license":"MIT","_id":"@devx-strapi/strapi-slug-creator@0.1.0","maintainers":[{"name":"devx","email":"office@devx.agency"}],"dist":{"shasum":"27eb9d9c701c6c46798e8f0850072063ae3a8243","tarball":"https://registry.npmjs.org/@devx-strapi/strapi-slug-creator/-/strapi-slug-creator-0.1.0.tgz","fileCount":4,"integrity":"sha512-bOV8EwdhTeq6DPs3YtfpQI6SgdwIC35LH8fNCAw2DauNkAMBx2raLmEuWSceASnZyUvRUF6QRb6DZ97xogovqQ==","signatures":[{"sig":"MEUCIQCN8tpXibUp86nPlPKE9XyODsFep10t+a0kecFTFYtlMgIgF5NczKEwrfw7UpMNCNJK3LY7NXN2lznnsNyyxkls3E8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8173},"type":"commonjs","strapi":{"kind":"plugin","name":"strapi-slug-creator","description":"Sync and create slugs for your Strapi content types.","displayName":"Slug creator"},"exports":{"./package.json":"./package.json","./strapi-server":{"types":"./dist/server/src/index.d.ts","import":"./dist/server/index.mjs","source":"./server/src/index.ts","default":"./dist/server/index.js","require":"./dist/server/index.js"}},"gitHead":"e7afc1d4995fbc5d4d12c89efcb02f88507f17ab","scripts":{"build":"strapi-plugin build","watch":"strapi-plugin watch","verify":"strapi-plugin verify","watch:link":"strapi-plugin watch:link","test:ts:back":"run -T tsc -p server/tsconfig.json"},"_npmUser":{"name":"devx","email":"office@devx.agency"},"_npmVersion":"10.9.2","description":"Sync and create slugs for your Strapi content types.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"slugify":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.6.2","typescript":"^5.9.3","@strapi/strapi":"^5.30.1","@strapi/sdk-plugin":"^5.3.2","@strapi/typescript-utils":"^5.30.1"},"peerDependencies":{"@strapi/strapi":"^5.30.1","@strapi/sdk-plugin":"^5.3.2"},"_npmOperationalInternal":{"tmp":"tmp/strapi-slug-creator_0.1.0_1762718362490_0.0759605597000006","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@devx-strapi/strapi-slug-creator","version":"1.0.0","description":"Sync and create slugs for your Strapi content types.","keywords":[],"license":"MIT","author":{"name":"devx","email":"tomasz@devx.agency"},"type":"commonjs","exports":{"./package.json":"./package.json","./strapi-server":{"types":"./dist/server/src/index.d.ts","source":"./server/src/index.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js","default":"./dist/server/index.js"}},"scripts":{"build":"strapi-plugin build","test:ts:back":"run -T tsc -p server/tsconfig.json","verify":"strapi-plugin verify","watch":"strapi-plugin watch","watch:link":"strapi-plugin watch:link"},"dependencies":{"slugify":"^1.6.6"},"devDependencies":{"@strapi/sdk-plugin":"5.4.0","@strapi/strapi":"5.46.1","@strapi/typescript-utils":"5.46.1","prettier":"^3.8.3","typescript":"^5"},"peerDependencies":{"@strapi/sdk-plugin":"^5.4.0","@strapi/strapi":"^5.46.1"},"strapi":{"kind":"plugin","name":"strapi-slug-creator","displayName":"Slug creator","description":"Sync and create slugs for your Strapi content types."},"repository":{"type":"git","url":"git+https://github.com/devx-agency/strapi-slug-creator.git"},"gitHead":"b3d109d64657836203a657901195a1142770fb1d","_id":"@devx-strapi/strapi-slug-creator@1.0.0","bugs":{"url":"https://github.com/devx-agency/strapi-slug-creator/issues"},"homepage":"https://github.com/devx-agency/strapi-slug-creator#readme","_nodeVersion":"22.22.3","_npmVersion":"11.15.0","dist":{"integrity":"sha512-6oz3YDyY5t84JIxFbaA21Z2wy/ieqj+LGseDuO2aFZzd+yBHDuBbm9gL4tzri0lPZEhjWbz19IAKsoiTqBSJCw==","shasum":"7f1afb07ce1133d0cabad4e7aec1957ab9684382","tarball":"https://registry.npmjs.org/@devx-strapi/strapi-slug-creator/-/strapi-slug-creator-1.0.0.tgz","fileCount":16,"unpackedSize":11877,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC1cj9Qmb6Ds9A2WEHYDBxTP5CHPNF/uyE/a4RoKubUkQIhAJqQDIwWOhfWIPfSwML4D1HFBZxGzH9mOJPm/57j+NR/"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a585657-0951-413a-9662-e0ae982abfab"}},"directories":{},"maintainers":[{"name":"devx","email":"office@devx.agency"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/strapi-slug-creator_1.0.0_1779362805871_0.9417021075568917"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-09T19:59:22.413Z","modified":"2026-05-21T11:26:46.169Z","0.1.0":"2025-11-09T19:59:22.679Z","1.0.0":"2026-05-21T11:26:46.022Z"},"author":{"name":"devx","email":"tomasz@devx.agency"},"license":"MIT","keywords":[],"description":"Sync and create slugs for your Strapi content types.","maintainers":[{"name":"devx","email":"office@devx.agency"}],"readme":"# strapi-slug-creator\n\nSync and create slugs for your Strapi content types.\n\n## Installation\n\nYou can install the plugin using either Yarn or npm:\n\n```bash\nyarn add @devx-strapi/strapi-slug-creator\n```\n\nIn `./config/plugins.ts`, add the following configuration:\n\n```ts\nexport default () => ({\n  // ...\n  'strapi-slug-creator': {\n    enabled: true,\n    config: {\n      applyToContentTypes: [\n        'api::treaty.treaty',\n        'api::definitions-category.definitions-category',\n        'api::institutional-category.institutional-category',\n        'api::term.term',\n        'api::page.page',\n        'api::institutional-arrangements-and-governance.institutional-arrangements-and-governance',\n        'api::verification-tool.verification-tool',\n        'api::verification-tools-and-technique.verification-tools-and-technique',\n      ],\n    },\n  },\n  // ...\n})\n```\n\n## Configuration\n\nThe plugin accepts a configuration object with the following options:\n\n- `applyToContentTypes`: An array of content type UIDs to which the slug creation should be applied.\n- `fieldName`: The name of the slug field. Default is `slug`.\n- `titleFields`: An object mapping content type UIDs to the fields used to generate the slug. Default is `{}`. (ex: `{ 'api::page.page': 'title' }`)\n\n## Changelog\n\n### 1.0.0\n\n- Upgraded Strapi dependency to `5.46.1`.\n\n### 0.1.0\n\n- Initial plugin release.\n","readmeFilename":"README.md","homepage":"https://github.com/devx-agency/strapi-slug-creator#readme","repository":{"type":"git","url":"git+https://github.com/devx-agency/strapi-slug-creator.git"},"bugs":{"url":"https://github.com/devx-agency/strapi-slug-creator/issues"}}