{"_id":"@strapi/client","_rev":"17-0f7eac0f5562098dc5381b0c68ed06e8","name":"@strapi/client","dist-tags":{"experimental":"1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f","latest":"1.6.2"},"versions":{"0.0.0":{"name":"@strapi/client","version":"0.0.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@0.0.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"98e1bc1de144b5df5273a1f301fb8abee9698726","tarball":"https://registry.npmjs.org/@strapi/client/-/client-0.0.0.tgz","fileCount":47,"integrity":"sha512-G/1RhDUoUODnsSnz8S1p96OA1Qc6UaoT8nn7lgo3EUW1LtFoa3EZ4EqoUEPlFE4ns6H6wAwEAxCc6g+Z1KmUgg==","signatures":[{"sig":"MEYCIQDiwSMAk11gLZrNJZpqBPPtQl457WzX13aV0JqYmU5EewIhAMrWYNJV/r6FG+kqpmjU6Bbm1jWqxGDsY4BK3mf0mAR/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":820198},"_from":"file:strapi-client-0.0.0.tgz","browser":"./dist/bundle.browser.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/bundle.mjs","browser":{"import":"./dist/bundle.browser.min.js","require":"./dist/bundle.browser.min.js"},"require":"./dist/bundle.cjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"rollup --config rollup.config.mjs --watch --failAfterWarnings","demo:env":"test -f demo/.strapi-app/.env || cp demo/.strapi-app/.env.example demo/.strapi-app/.env","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","demo:seed":"pnpm -C demo/.strapi-app seed:example","demo:build":"pnpm run build && pnpm -C demo/node-typescript build","demo:setup":"pnpm demo:install && pnpm run demo:env && pnpm run demo:build && pnpm run demo:seed:clean","demo:start":"pnpm -C demo/.strapi-app develop","build:clean":"pnpm run clean && pnpm run build","demo:install":"pnpm install && pnpm -C demo/.strapi-app install && pnpm -C demo/node-typescript install && pnpm -C demo/node-javascript install","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write .","demo:seed:clean":"pnpm exec rimraf demo/.strapi-app/.tmp/data.db && pnpm run demo:seed"},"_npmUser":{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},"_resolved":"/private/var/folders/qj/d_qxw8q94bgb0mj89dlx6jpm0000gn/T/d7088fe31e17fa24c67e3b1a192b2cf2/strapi-client-0.0.0.tgz","_integrity":"sha512-G/1RhDUoUODnsSnz8S1p96OA1Qc6UaoT8nn7lgo3EUW1LtFoa3EZ4EqoUEPlFE4ns6H6wAwEAxCc6g+Z1KmUgg==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.0.0_1739441413773_0.9133113124458725","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@strapi/client","version":"1.0.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.0.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"0877501d2dee50c2fd44f03438f0f18665cde6cb","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.0.0.tgz","fileCount":47,"integrity":"sha512-GA/UygidAy9zUKG97rVaBCKUmuNFnTb1AnD43jBD+w8ixMuFBe2CTlT2GS8jWxJy4Go36Pura9lLqfmEXzVReA==","signatures":[{"sig":"MEQCHybp2tVkqG/ym3QSjdsJvnuERKcu8U/68satXnaTP4ACIQDZ+mjRTAkmJjPxrEwWl5i6WHRAl5l0wOfqGrbKYRfVVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":820198},"_from":"file:strapi-client-1.0.0.tgz","browser":"./dist/bundle.browser.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/bundle.mjs","browser":{"import":"./dist/bundle.browser.min.js","require":"./dist/bundle.browser.min.js"},"require":"./dist/bundle.cjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"rollup --config rollup.config.mjs --watch --failAfterWarnings","demo:env":"test -f demo/.strapi-app/.env || cp demo/.strapi-app/.env.example demo/.strapi-app/.env","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","demo:seed":"pnpm -C demo/.strapi-app seed:example","demo:build":"pnpm run build && pnpm -C demo/node-typescript build","demo:setup":"pnpm demo:install && pnpm run demo:env && pnpm run demo:build && pnpm run demo:seed:clean","demo:start":"pnpm -C demo/.strapi-app develop","build:clean":"pnpm run clean && pnpm run build","demo:install":"pnpm install && pnpm -C demo/.strapi-app install && pnpm -C demo/node-typescript install && pnpm -C demo/node-javascript install","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write .","demo:seed:clean":"pnpm exec rimraf demo/.strapi-app/.tmp/data.db && pnpm run demo:seed"},"_npmUser":{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},"_resolved":"/private/var/folders/qj/d_qxw8q94bgb0mj89dlx6jpm0000gn/T/b45065913677361fcf09c0fbb2719934/strapi-client-1.0.0.tgz","_integrity":"sha512-GA/UygidAy9zUKG97rVaBCKUmuNFnTb1AnD43jBD+w8ixMuFBe2CTlT2GS8jWxJy4Go36Pura9lLqfmEXzVReA==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.0.0_1739441706134_0.5587870358691889","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@strapi/client","version":"1.0.1","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.0.1","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"e966dde04999576cc66f2be0a6892ece4584cda0","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.0.1.tgz","fileCount":47,"integrity":"sha512-9uY1cq685F/0Sr9mm72n5lXY+D6JvDqfOm30atXCtrtBkt1enKiMBf/Mu8cwIhK1fKO/DcllTpgJJJI8Fv+dzg==","signatures":[{"sig":"MEUCIQCxrgqTj5FbU2LDiSPZmcD/PX7VtNCFucrzGczzfb2zVwIgXrPKueOuunfJTDnO1VAhRPR/iFkPD6wefS5nwzJLv40=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":820177},"_from":"file:strapi-client-1.0.1.tgz","browser":"./dist/bundle.browser.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/bundle.mjs","browser":{"import":"./dist/bundle.browser.min.js","require":"./dist/bundle.browser.min.js"},"require":"./dist/bundle.cjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"rollup --config rollup.config.mjs --watch --failAfterWarnings","demo:env":"test -f demo/.strapi-app/.env || cp demo/.strapi-app/.env.example demo/.strapi-app/.env","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","demo:seed":"pnpm -C demo/.strapi-app seed:example","demo:build":"pnpm run build && pnpm -C demo/node-typescript build","demo:setup":"pnpm demo:install && pnpm run demo:env && pnpm run demo:build && pnpm run demo:seed:clean","demo:start":"pnpm -C demo/.strapi-app develop","build:clean":"pnpm run clean && pnpm run build","demo:install":"pnpm install && pnpm -C demo/.strapi-app install && pnpm -C demo/node-typescript install && pnpm -C demo/node-javascript install","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write .","demo:seed:clean":"pnpm exec rimraf demo/.strapi-app/.tmp/data.db && pnpm run demo:seed"},"_npmUser":{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},"_resolved":"/tmp/e3566e50be14949f74bc71f7dc0d0e33/strapi-client-1.0.1.tgz","_integrity":"sha512-9uY1cq685F/0Sr9mm72n5lXY+D6JvDqfOm30atXCtrtBkt1enKiMBf/Mu8cwIhK1fKO/DcllTpgJJJI8Fv+dzg==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.0.1_1739806924893_0.014079438237591058","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@strapi/client","version":"1.1.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.1.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"38effc95ae0b6a85b65bce3d1ecc29a69e665489","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.1.0.tgz","fileCount":52,"integrity":"sha512-S9Je4LSPdKS8rVYLjO8buQMxes7tcby8zGsRNiQkVZVX4eLkr5SdFyq+KuUhE3gPdAhDedGd9ozt+i6QWMUf8g==","signatures":[{"sig":"MEQCIBAwY/TTza4UTVdB903nwbSZBYSNOrsWMoJgMG/IgjBVAiB8J3g3yhYSQ5g86iTGKDf0wRmjD9K9eR79FkeMkTKFdg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":844338},"_from":"file:strapi-client-1.1.0.tgz","browser":"./dist/bundle.browser.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/bundle.mjs","browser":{"import":"./dist/bundle.browser.min.js","require":"./dist/bundle.browser.min.js"},"require":"./dist/bundle.cjs"},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"jhoward1994","email":"jhoward1994@gmail.com"},"_resolved":"/private/var/folders/8d/xth28sgd6v37mk036rkjk22m0000gn/T/71dcd2298a325e390b9150f28c6da643/strapi-client-1.1.0.tgz","_integrity":"sha512-S9Je4LSPdKS8rVYLjO8buQMxes7tcby8zGsRNiQkVZVX4eLkr5SdFyq+KuUhE3gPdAhDedGd9ozt+i6QWMUf8g==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.1.0_1743588056420_0.5454687781427263","host":"s3://npm-registry-packages-npm-production"}},"1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125":{"name":"@strapi/client","version":"1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"2a025b804031cddf5ff8a0cb416329a6ca0f8d21","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125.tgz","fileCount":52,"integrity":"sha512-VMBkG+MQqaKE5U2MwNCN2Eo7i/a8Q3fcEaEryRKrrq5ixfTt582ikR97ls1WfFDI2ooUxlo+1lOSz3mq/BLuCQ==","signatures":[{"sig":"MEYCIQCbq8Gft4Q3H5UpevobxGt57fvAOAEHfy7Edl23sqXUpgIhALvPplA5GLTDp6Hqn/G+Pabjbg7EvPgtTApwD3w/7SMt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":808629},"_from":"file:strapi-client-1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125.tgz","browser":"./dist/bundle.browser.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/bundle.mjs","browser":{"import":"./dist/bundle.browser.min.js","require":"./dist/bundle.browser.min.js"},"require":"./dist/bundle.cjs"},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},"_resolved":"/tmp/b4871f9d76e17e9f4cf8a6936af74e57/strapi-client-1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125.tgz","_integrity":"sha512-VMBkG+MQqaKE5U2MwNCN2Eo7i/a8Q3fcEaEryRKrrq5ixfTt582ikR97ls1WfFDI2ooUxlo+1lOSz3mq/BLuCQ==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125_1744112119191_0.9496400840166899","host":"s3://npm-registry-packages-npm-production"}},"1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f":{"name":"@strapi/client","version":"1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"b54dc7690e30686c1e78d501c8850f700f3adc15","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f.tgz","fileCount":57,"integrity":"sha512-wSk/0wKCEkiC6z+v8EBnT329thjox5Q+RfX+JZYdX704vTAjJuyZZC24a5yZ8bZEUBy+o0oCypLYv5pZf6L7nQ==","signatures":[{"sig":"MEUCIG7orUxZAIVPt9kAWgvIs1F4i4cL5UsjxrujgFyaum9VAiEA1Pruhg805PfpUfrguyZNeJrLLuBuRCB/2UmOR2gNn2c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1175705},"_from":"file:strapi-client-1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},"_resolved":"/tmp/beba47b2655f9587d9da6b8e6f43c14c/strapi-client-1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f.tgz","_integrity":"sha512-wSk/0wKCEkiC6z+v8EBnT329thjox5Q+RfX+JZYdX704vTAjJuyZZC24a5yZ8bZEUBy+o0oCypLYv5pZf6L7nQ==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f_1744198321345_0.7891376121560112","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@strapi/client","version":"1.2.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.2.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"5cc2fff39e28486c733c921b94f7bacf4500cb44","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.2.0.tgz","fileCount":57,"integrity":"sha512-2uHtGrZZou37OTuUpqzwh5OsLGtn1ehjrb1GW+NaZfEOqRroaPSyZcv94PYeuSEwZiQUpWFTLAtApu55/2lUCw==","signatures":[{"sig":"MEUCIBVzykdjrrkepyvxkxrN0jd09M7aoTJHmg7IsR5dL8rfAiEAtroR87NL2SVIIHXutu4RuTtOvNpdhPuHIqF2rJ7AMso=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1175658},"_from":"file:strapi-client-1.2.0.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},"_resolved":"/tmp/c6f4ac1d4628644e3d2dd4c673574515/strapi-client-1.2.0.tgz","_integrity":"sha512-2uHtGrZZou37OTuUpqzwh5OsLGtn1ehjrb1GW+NaZfEOqRroaPSyZcv94PYeuSEwZiQUpWFTLAtApu55/2lUCw==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.2.0_1744725122668_0.4639561916315851","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@strapi/client","version":"1.3.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.3.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"9b4d4725733c628fffb2ece014b031119ec38c25","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.3.0.tgz","fileCount":57,"integrity":"sha512-qRssxOR+vOrDZDLpugDoZyLYJw2nZjDgTQttddAPgbqhdt+elf+zW1NZW7uEbTY9yIpTokw/FSq+2lJ2qVDHaA==","signatures":[{"sig":"MEYCIQCfIk2hzUSAT5R+y7TNyI1g9AMGTrjvbTxg0Qt9HDB/qQIhAIMSk+Iwm3OgAxQyvTIkk2uYcthowzLCCYkc8bBDYQgI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1182017},"_from":"file:strapi-client-1.3.0.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"jhoward1994","email":"jhoward1994@gmail.com"},"_resolved":"/private/var/folders/8d/xth28sgd6v37mk036rkjk22m0000gn/T/82f7de346019e1cdb91e8174ab15fed3/strapi-client-1.3.0.tgz","_integrity":"sha512-qRssxOR+vOrDZDLpugDoZyLYJw2nZjDgTQttddAPgbqhdt+elf+zW1NZW7uEbTY9yIpTokw/FSq+2lJ2qVDHaA==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.15.0","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.3.0_1745854193113_0.5907048932249288","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@strapi/client","version":"1.4.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.4.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"4ffd882ac1854111cfca08135c1497745243b67f","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.4.0.tgz","fileCount":58,"integrity":"sha512-A4mS6y52sI5CP9LOgB2iB5NOh1w1nonRlF4tWWtAe4+qquO59fp1tXOf08A1oXnSST1NSSifpQwrUiHi4LmWwQ==","signatures":[{"sig":"MEUCIF0N6Kn6RNWowEENqtfCA9mTFkBa9UjhVRlzYafD1b8oAiEAsr5rVq5RxVVH1YhhTkgHiE44KutcRXPLA/PoH49x1qE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1187649},"_from":"file:strapi-client-1.4.0.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},"_resolved":"/tmp/09f6f20d3205c776211cb78c10f7e0dd/strapi-client-1.4.0.tgz","_integrity":"sha512-A4mS6y52sI5CP9LOgB2iB5NOh1w1nonRlF4tWWtAe4+qquO59fp1tXOf08A1oXnSST1NSSifpQwrUiHi4LmWwQ==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.13.1","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.4.0_1746522264906_0.5041261400274655","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@strapi/client","version":"1.5.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.5.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"6a610d821ab3e8b0df34b59aa52da44eb5b0240c","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.5.0.tgz","fileCount":58,"integrity":"sha512-W3+GRtm0RyRWbOeMeUl0JQylCJVjgs58mmN20kMjnmxzcw5L4lxgdxCMIjc1fLtOEcpo3qlzf96c4Hl/lJFSHA==","signatures":[{"sig":"MEUCIQC/z2synmMXklZiHUrWz7M9TTWYWNBbYp/AqRFt55JScAIgRusNUDiGVaoXFY0pf2VeZpKABr4Xm9eMy/VzPUEBik0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1208161},"_from":"file:strapi-client-1.5.0.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"jest --verbose","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","test:cov":"jest --verbose --coverage","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"jhoward1994","email":"jhoward1994@gmail.com"},"_resolved":"/private/var/folders/8d/xth28sgd6v37mk036rkjk22m0000gn/T/28a84a07d9d9c94cf33fc0dcc1ead85d/strapi-client-1.5.0.tgz","_integrity":"sha512-W3+GRtm0RyRWbOeMeUl0JQylCJVjgs58mmN20kMjnmxzcw5L4lxgdxCMIjc1fLtOEcpo3qlzf96c4Hl/lJFSHA==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.15.0","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","ts-jest":"29.2.5","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/jest":"29.5.14","@types/node":"^20","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.5.0_1755516012754_0.6117668150650892","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@strapi/client","version":"1.6.0","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.6.0","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"remidej","email":"remi@hey.com"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"},{"name":"bassel17","email":"basselkanso82@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"95a1c77514da7744c250c0f7157309b1b6440800","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.6.0.tgz","fileCount":60,"integrity":"sha512-lSJMxF0JuZzZmpBS/Fpzj4ZPKZsB3leVAoQjdeY4IJ57S2FlnFkm/mM35bcHbri5UdbCUhfiL6QtuoA8p8Fp2w==","signatures":[{"sig":"MEUCIQCHWvEV9UdPb2Ro625TgxiJ33Z/Yuoh5Z5J6jo47N6yLwIgQdy4FQ6lJVKEqymFOdF6FGInuCAfjDNOPhm/gxbZguI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1218826},"_from":"file:strapi-client-1.6.0.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=22.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"vitest run","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","lint:fix":"eslint . --fix","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","lint:fix:dry":"eslint . --fix-dry-run","test:coverage":"vitest run --coverage","prettier:check":"prettier --check .","prettier:write":"prettier --write ."},"_npmUser":{"name":"jhoward1994","email":"jhoward1994@gmail.com"},"_resolved":"/private/var/folders/8d/xth28sgd6v37mk036rkjk22m0000gn/T/6d58c9ac3108f7946276a29756c492f7/strapi-client-1.6.0.tgz","_integrity":"sha512-lSJMxF0JuZzZmpBS/Fpzj4ZPKZsB3leVAoQjdeY4IJ57S2FlnFkm/mM35bcHbri5UdbCUhfiL6QtuoA8p8Fp2w==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.3","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.20.0","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","vitest":"^4.0.3","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/node":"^20","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","@vitest/coverage-v8":"latest","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.6.0_1763722860560_0.5236659443444964","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@strapi/client","version":"1.6.1","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.6.1","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"nico-strapi","email":"nicolas.andre@strapi.io"},{"name":"strapi.adzouz","email":"adrien.lepoutre@strapi.io"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"},{"name":"bassel17","email":"basselkanso82@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"6f25f79b80ecd5e0cd1b12c63f570cef6bcaf5f0","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.6.1.tgz","fileCount":60,"integrity":"sha512-KsO9bfYR75CgtnhUkGqjUZAnoZdxddnRqK4Z7opco9tTqu6p8zbbLWY86QvuUlDOJevCzHE6F0R8o7XIr1x3rg==","signatures":[{"sig":"MEUCIQCYPTQLiBNOyDF4KjH3EAByOS2gKKRMGyllCEZn1sRcTgIgT+o8n41rC/C0cH6yskgIIivhTBYsrlUjkwr54k3gov8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1218858},"_from":"file:strapi-client-1.6.1.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=24.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"vitest run","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","format":"prettier --write .","lint:fix":"eslint . --fix","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","format:check":"prettier --check .","format:write":"prettier --write .","lint:fix:dry":"eslint . --fix-dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nico-strapi","email":"nicolas.andre@strapi.io"},"_resolved":"/private/var/folders/ls/14xb66hx40j_z7_2d8b0lywh0000gn/T/d3970fa942bc93b5930084dc7ec8e0f5/strapi-client-1.6.1.tgz","_integrity":"sha512-KsO9bfYR75CgtnhUkGqjUZAnoZdxddnRqK4Z7opco9tTqu6p8zbbLWY86QvuUlDOJevCzHE6F0R8o7XIr1x3rg==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"11.6.2","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"24.12.0","dependencies":{"qs":"6.14.0","debug":"4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.7","eslint":"8.57.1","rimraf":"6.0.1","rollup":"4.31.0","vitest":"^4.0.3","prettier":"3.4.2","@types/qs":"6.9.18","typescript":"5.7.3","@types/node":"^20","lint-staged":"15.4.1","@types/debug":"4.1.12","@commitlint/cli":"19.6.1","@commitlint/types":"19.5.0","@vitest/coverage-v8":"latest","eslint-plugin-import":"2.31.0","@rollup/plugin-terser":"0.4.4","@strapi/eslint-config":"0.2.1","@rollup/plugin-replace":"6.0.2","@rollup/plugin-commonjs":"28.0.2","@rollup/plugin-typescript":"12.1.2","@typescript-eslint/parser":"8.21.0","@rollup/plugin-node-resolve":"16.0.0","@commitlint/config-conventional":"19.6.0","@typescript-eslint/eslint-plugin":"8.21.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.6.1_1770883744687_0.41410404604796347","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"@strapi/client","version":"1.6.2","keywords":["strapi","sdk","library","client","js","ts"],"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","_id":"@strapi/client@1.6.2","maintainers":[{"name":"pierreburgy","email":"pierre.burgy@gmail.com"},{"name":"aurelsicoko","email":"aurelsicoko@gmail.com"},{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"convly","email":"jean-sebastien.herbaux@hotmail.fr"},{"name":"nico-strapi","email":"nicolas.andre@strapi.io"},{"name":"strapi.adzouz","email":"adrien.lepoutre@strapi.io"},{"name":"baronvoninternet","email":"ben.irvin@gmail.com"},{"name":"marc-roig-strapi","email":"marc.roig.campos@strapi.io"},{"name":"jhoward1994","email":"jhoward1994@gmail.com"},{"name":"bassel17","email":"basselkanso82@gmail.com"}],"homepage":"https://github.com/strapi/client#readme","bugs":{"url":"https://github.com/strapi/client/issues"},"dist":{"shasum":"c8aa5a8d29d963ed4536950eceb8034920e13c90","tarball":"https://registry.npmjs.org/@strapi/client/-/client-1.6.2.tgz","fileCount":60,"integrity":"sha512-yISbChmwyp0Br1i8iafli38SGy1um9vqN7tzzEHyehrQsx1rkVe1r5Wkgd1DOAYtJcMnH7QmX/owSrHqN4rHEw==","signatures":[{"sig":"MEUCICVYpUr7dN+g+jagiBDQNsOtiYq2HRI3xvxb8zK2WovrAiEAu9mfKxtBx2l3ykolIL3IXoT65UpTYKSr5kcRJA8kZ0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1297170},"_from":"file:strapi-client-1.6.2.tgz","browser":"./dist/bundle.browser.iife.min.js","engines":{"node":">=20.18.2 <=24.x.x"},"exports":{".":{"node":{"import":"./dist/bundle.mjs","require":"./dist/bundle.cjs"},"types":"./dist/exports.d.ts","browser":{"import":"./dist/bundle.browser.mjs","require":"./dist/bundle.browser.cjs"}},"./package.json":"./package.json"},"scripts":{"demo":"pnpm exec scripts/demo.sh","lint":"eslint .","test":"vitest run","build":"rollup --config rollup.config.mjs --failAfterWarnings","clean":"pnpm exec rimraf ./dist","watch":"pnpm run build --watch","format":"prettier --write .","lint:fix":"eslint . --fix","ts:check":"tsc -p tsconfig.build.json --noEmit","build:clean":"pnpm run clean && pnpm run build","format:check":"prettier --check .","format:write":"prettier --write .","lint:fix:dry":"eslint . --fix-dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"jhoward1994","email":"jhoward1994@gmail.com"},"_resolved":"/private/var/folders/8d/xth28sgd6v37mk036rkjk22m0000gn/T/6ac69caa938dc592b802f65da154c3ce/strapi-client-1.6.2.tgz","_integrity":"sha512-yISbChmwyp0Br1i8iafli38SGy1um9vqN7tzzEHyehrQsx1rkVe1r5Wkgd1DOAYtJcMnH7QmX/owSrHqN4rHEw==","repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"_npmVersion":"10.9.3","description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","directories":{},"_nodeVersion":"22.20.0","dependencies":{"qs":"6.15.2","debug":"4.4.3"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"8.20.0","vite":"8.0.14","husky":"9.1.7","eslint":"10.4.1","rimraf":"6.1.3","rollup":"4.61.0","vitest":"^4.0.18","flatted":"3.4.2","postcss":"^8.5.10","fast-uri":"3.1.2","prettier":"3.8.3","@types/qs":"6.15.1","picomatch":"4.0.4","typescript":"5.9.3","@types/node":"^25.2.2","lint-staged":"17.0.7","@types/debug":"4.1.13","@commitlint/cli":"21.0.2","@commitlint/types":"21.0.1","@vitest/coverage-v8":"latest","@rollup/plugin-terser":"1.0.0","@rollup/plugin-replace":"6.0.3","eslint-plugin-import-x":"4.16.2","@rollup/plugin-commonjs":"29.0.3","@rollup/plugin-typescript":"12.3.0","@typescript-eslint/parser":"8.60.1","@rollup/plugin-node-resolve":"16.0.3","@commitlint/config-conventional":"21.0.2","@typescript-eslint/eslint-plugin":"8.60.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.6.2_1780570785628_0.199891927249517","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-02-13T10:10:13.690Z","modified":"2026-06-23T11:51:23.455Z","0.0.0":"2025-02-13T10:10:14.012Z","1.0.0":"2025-02-13T10:15:06.391Z","1.0.1":"2025-02-17T15:42:05.157Z","1.1.0":"2025-04-02T10:00:56.703Z","1.1.0-experimental.c93e62ec24034391f8af966bd99e4bf7edf5a125":"2025-04-08T11:35:19.453Z","1.1.1-experimental.0c2b9b7db81582db39a13c11855447de436b7e1f":"2025-04-09T11:32:01.534Z","1.2.0":"2025-04-15T13:52:02.895Z","1.3.0":"2025-04-28T15:29:53.370Z","1.4.0":"2025-05-06T09:04:25.148Z","1.5.0":"2025-08-18T11:20:12.966Z","1.6.0":"2025-11-21T11:01:00.778Z","1.6.1":"2026-02-12T08:09:04.897Z","1.6.2":"2026-06-04T10:59:45.788Z"},"bugs":{"url":"https://github.com/strapi/client/issues"},"author":{"url":"https://strapi.io","name":"Strapi Solutions SAS","email":"hi@strapi.io"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/strapi/client#readme","keywords":["strapi","sdk","library","client","js","ts"],"repository":{"url":"git+https://github.com/strapi/client.git","type":"git"},"description":"The official client library to easily interface with Strapi from your JavaScript/TypeScript project","maintainers":[{"email":"pierre.burgy@gmail.com","name":"pierreburgy"},{"email":"aurelsicoko@gmail.com","name":"aurelsicoko"},{"email":"bodin.alex@gmail.com","name":"alexandrebodin"},{"email":"jean-sebastien.herbaux@hotmail.fr","name":"convly"},{"email":"nicolas.andre@strapi.io","name":"nico-strapi"},{"email":"adrien.lepoutre@strapi.io","name":"strapi.adzouz"},{"email":"simon.norris@strapi.io","name":"cache-your-dreams"},{"email":"ben.irvin@gmail.com","name":"baronvoninternet"},{"email":"marc.roig.campos@strapi.io","name":"marc-roig-strapi"},{"email":"jhoward1994@gmail.com","name":"jhoward1994"},{"email":"basselkanso82@gmail.com","name":"bassel17"}],"readme":"<p align=\"center\">\n  <a href=\"https://strapi.io/#gh-light-mode-only\">\n    <img src=\"https://strapi.io/assets/strapi-logo-dark.svg\" width=\"318px\" alt=\"Strapi logo\" />\n  </a>\n  <a href=\"https://strapi.io/#gh-dark-mode-only\">\n    <img src=\"https://strapi.io/assets/strapi-logo-light.svg\" width=\"318px\" alt=\"Strapi logo\" />\n  </a>\n</p>\n\n<h2 align=\"center\">Manage Your Strapi Content From Anywhere 🚀</h2>\n<p align=\"center\">Connect your JavaScript/TypeScript apps to a flexible and fully customizable Strapi backend with ease.</p>\n<p align=\"center\"><a href=\"https://github.com/strapi/strapi\">CMS Repository</a> - <a href=\"https://strapi.io\">Website</a> - <a href=\"https://www.notion.so/strapi/Strapi-JavaScript-SDK-plan-15f8f35980748046b7f8fb207b29c64b\">SDK Roadmap</a></p>\n<br />\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.org/package/@strapi/client\">\n    <img src=\"https://img.shields.io/npm/v/@strapi/client/latest.svg\" alt=\"NPM Version\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@strapi/client\" target=\"_blank\">\n   <img src=\"https://img.shields.io/npm/dm/@strapi/client\" alt=\"NPM downloads\" />\n  </a>\n  <a href=\"https://github.com/strapi/client/actions/workflows/tests.yml\">\n    <img src=\"https://github.com/strapi/client/actions/workflows/tests.yml/badge.svg?branch=main\" alt=\"Tests\" />\n  </a>\n  <a href=\"https://discord.strapi.io\">\n    <img src=\"https://img.shields.io/discord/811989166782021633?label=Discord\" alt=\"Strapi on Discord\" />\n  </a>\n</p>\n\n<br>\n\n## 📖 Table of contents\n\n1. [Getting Started](#-getting-started)\n   - [Prerequisites](#pre-requisites)\n   - [Installation](#installation)\n2. [Creating and Configuring a Strapi Client Instance](#-creating-and-configuring-the-client-instance)\n   - [Basic Configuration](#basic-configuration)\n   - [Authentication](#authentication)\n     - [API Token Authentication](#api-token-authentication)\n     - [Custom Headers](#custom-headers)\n3. [API Reference](#-api-reference)\n4. [Resource Managers](#-resource-managers)\n   - [`.collection()`](#collectionresource-options)\n   - [`.single()`](#singleresource-options)\n   - [`.files`](#files)\n5. [Debug](#-debug)\n6. [Demo Projects](#-demo-projects)\n7. [Contributing](./CONTRIBUTING.md)\n\n## 🛠 Getting started\n\n### Pre-Requisites\n\nBefore you begin, ensure you have the following:\n\n- A Strapi backend up and running: [quick start guide](https://docs.strapi.io/dev-docs/quick-start).\n- The API URL of your Strapi instance: for example, `http://localhost:1337/api`.\n- A recent version of [Node.js](https://nodejs.org/en/download/package-manager) installed.\n\n### Installation\n\nInstall the client as a dependency in your project:\n\n**NPM**\n\n```bash\nnpm install @strapi/client\n```\n\n**Yarn**\n\n```bash\nyarn add @strapi/client\n```\n\n**pnpm**\n\n```bash\npnpm add @strapi/client\n```\n\n## ⚙️ Creating and configuring the client Instance\n\n### Basic configuration\n\nTo interact with your Strapi backend, initialize the client with your Strapi API base URL:\n\n```typescript\nimport { strapi } from '@strapi/client';\n\nconst client = strapi({ baseURL: 'http://localhost:1337/api' });\n```\n\nAlternatively, use a `<script>` tag in a browser environment:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@strapi/client\"></script>\n\n<script>\n  const client = strapi.strapi({ baseURL: 'http://localhost:1337/api' });\n</script>\n```\n\n### Authentication\n\nThe client library supports multiple authentication strategies for accessing authenticated content in your Strapi backend.\n\n#### API-Token authentication\n\nIf your Strapi instance uses API tokens, configure the client like this:\n\n```typescript\nconst client = strapi({\n  // Endpoint configuration\n  baseURL: 'http://localhost:1337/api',\n  // Auth configuration\n  auth: 'your-api-token-here',\n});\n```\n\n#### Custom Headers\n\nYou can configure custom headers to be included with every request made by the client:\n\n```typescript\nconst client = strapi({\n  baseURL: 'http://localhost:1337/api',\n  auth: 'your-api-token-here',\n  headers: {\n    'X-Custom-Header': 'value',\n    'Accept-Language': 'en-US',\n  },\n});\n```\n\nCustom headers specified in the client configuration are applied to all requests\n\n**Example: Using Custom Headers**\n\n```typescript\n// Initialize client with custom headers\nconst client = strapi({\n  baseURL: 'http://localhost:1337/api',\n  headers: {\n    'X-Request-ID': '12345',\n    'Accept-Language': 'en-US',\n  },\n});\n\n// Headers will be included in all requests\nconst articles = await client.collection('articles').find();\n```\n\n## 📚 API Reference\n\nThe Strapi client library instance provides key properties and utility methods for content and API interaction:\n\n- **`baseURL`**: base URL of your Strapi backend.\n- **`fetch()`**: perform generic requests to the Strapi Content API using fetch-like syntax.\n- **`collection()`**: get a manager instance for handling collection-type resources.\n- **`single()`**: get a manager instance for handling single-type resources.\n- **`files`**: access the files manager instance for handling common files operations.\n\n## 📁 Resource Managers\n\n### `.collection(resource, [options])`\n\nThe `.collection()` method provides a manager for working with collection-type resources,\nwhich can have multiple entries.\n\n#### Params\n\n- `resource`: `string` - plural name of your collection type, as defined in the Strapi model\n- `[options]`: `object` - additional options to pass to the collection type manager\n  - `[path]`: `string` - optional root path override for the manager's queries\n\n#### Available Methods:\n\n1. **`find(queryParams?)`**: fetch multiple entries.\n2. **`findOne(documentID, queryParams?)`**: fetch a single entry by its ID.\n3. **`create(data, queryParams?)`**: create a new entry.\n4. **`update(documentID, data, queryParams?)`**: update an existing entry.\n5. **`delete(documentID, queryParams?)`**: remove an entry.\n\n#### Examples:\n\n```typescript\nconst articles = client.collection('articles');\n\n// Fetch all english articles sorted by title\nconst allArticles = await articles.find({\n  locale: 'en',\n  sort: 'title',\n});\n\n// Fetch a single article\nconst singleArticle = await articles.findOne('article-document-id');\n\n// Create a new article\nconst newArticle = await articles.create({ title: 'New Article', content: '...' });\n\n// Update an existing article\nconst updatedArticle = await articles.update('article-document-id', { title: 'Updated Title' });\n\n// Delete an article\nawait articles.delete('article-id');\n```\n\n#### Working with Users (Users-Permissions Plugin)\n\nThe client automatically detects and handles special Strapi content-types like `users` from the users-permissions plugin. You can work with them seamlessly:\n\n```typescript\n// Auto-detected as users-permissions - no configuration needed!\nconst users = client.collection('users');\n\n// Create a new user\nawait users.create({\n  username: 'john',\n  email: 'john@example.com',\n  password: 'SecurePass123!',\n  role: 1,\n});\n\n// Find users\nconst allUsers = await users.find();\n\n// Update a user\nawait users.update('user-id', { username: 'john_updated' });\n```\n\n> **Note:** The users-permissions plugin has a different API contract than regular content-types. The client automatically handles this by not wrapping the payload in a `data` object.\n\n#### Custom Path\n\nYou can also customize the root path for requests by providing a value for the `path` option:\n\n```typescript\nconst articles = client.collection('articles', { path: '/my-custom-path' });\n```\n\n### `.single(resource, [options])`\n\nThe `.single()` method provides a manager for working with single-type resources, which have only one entry.\n\n#### Params\n\n- `resource`: `string` - singular name of your single type, as defined in the Strapi model\n- `[options]`: `object` - additional options to pass to the single type manager\n  - `[path]`: `string` - optional root path override for the manager's queries\n\n#### Available Methods:\n\n1. **`find(queryParams?)`**: fetch the document.\n2. **`update(data, queryParams?)`**: update the document.\n3. **`delete(queryParams?)`**: remove the document.\n\n#### Examples:\n\n```typescript\nconst homepage = client.single('homepage');\n\n// Fetch the default version of the homepage\nconst defaultHomepage = await homepage.find();\n\n// Fetch the spanish version of the homepage\nconst spanishHomepage = await homepage.find({ locale: 'es' });\n\n// Update the homepage draft content\nconst updatedHomepage = await homepage.update(\n  { title: 'Updated Homepage Title' },\n  { status: 'draft' }\n);\n\n// Delete the homepage content\nawait homepage.delete();\n```\n\nYou can also customize the root path for requests by providing a value for the `path` option:\n\n```typescript\nconst homepage = client.single('homepage', { path: '/my-custom-path' });\n```\n\n### `.files`\n\nThe `files` property provides access to the Strapi Media Library through the Upload plugin. It allows you to retrieve files metadata without directly interacting with the REST API manually.\n\n#### Methods\n\n- `find(params?: FileQueryParams): Promise<FileListResponse>` - Retrieves a list of file metadata based on optional query parameters\n- `findOne(fileId: number): Promise<FileResponse>` - Retrieves the metadata for a single file by its ID\n- `update(fileId: number, fileInfo: FileUpdateData): Promise<FileResponse>` - Updates metadata for an existing file\n- `delete(fileId: number): Promise<void>` - Deletes a file by its ID\n\n#### Examples\n\n**Finding all files**\n\n```typescript\n// Initialize the client\nconst client = strapi({\n  baseURL: 'http://localhost:1337/api',\n  auth: 'your-api-token',\n});\n\n// Find all file metadata\nconst allFiles = await client.files.find();\nconsole.log(allFiles);\n\n// Find file metadata with filtering and sorting\nconst imageFiles = await client.files.find({\n  filters: {\n    mime: { $contains: 'image' }, // Only get image files\n    name: { $contains: 'avatar' }, // Only get files with 'avatar' in the name\n  },\n  sort: ['name:asc'], // Sort by name in ascending order\n});\n```\n\n**Finding a Single File**\n\n```typescript\n// Initialize the client\nconst client = strapi({\n  baseURL: 'http://localhost:1337/api',\n  auth: 'your-api-token',\n});\n\n// Find file metadata by ID\nconst file = await client.files.findOne(1);\n\nconsole.log(file.name); // The file name\nconsole.log(file.url); // The file URL\nconsole.log(file.mime); // The file MIME type\n```\n\n**Updating File Metadata**\n\n```typescript\n// Initialize the client\nconst client = strapi({\n  baseURL: 'http://localhost:1337/api',\n  auth: 'your-api-token',\n});\n\n// Update file metadata\nconst updatedFile = await client.files.update(1, {\n  name: 'New file name',\n  alternativeText: 'Descriptive alt text for accessibility',\n  caption: 'A caption for the file',\n});\n\nconsole.log(updatedFile.name); // Updated file name\nconsole.log(updatedFile.alternativeText); // Updated alt text\n```\n\n**Deleting a File**\n\n```typescript\n// Initialize the client\nconst client = strapi({\n  baseURL: 'http://localhost:1337/api',\n  auth: 'your-api-token',\n});\n\n// Delete a file by ID\nconst deletedFile = await client.files.delete(1);\n\nconsole.log('File deleted successfully');\nconsole.log('Deleted file ID:', deletedFile.id);\nconsole.log('Deleted file name:', deletedFile.name);\n```\n\n## 🐛 Debug\n\nThis section provides guidance on enabling and managing debug logs for the SDK,\npowered by [debug](https://github.com/debug-js/debug/).\n\n### Node.js Debugging\n\nIn **Node.js bundles** (`cjs`, `esm`), debugging capabilities are always available to use.\n\nYou can turn on or off debug logs using the `DEBUG` environment variable:\n\n```bash\n# Enable logs for all namespaces\nDEBUG=*\n\n# Enable logs for a specific namespace\nDEBUG=strapi:http\n\n# Turn off logs\nunset DEBUG\n```\n\n### Browser Debugging\n\nFor **browser environments**, debug capabilities are intentionally turned off to optimize the bundle size.\n\n### Usage Overview\n\nThe `debug` tool allows you to control logs using wildcard patterns (`*`):\n\n- `*`: enable all logs.\n- `strapi:module`: enable logs for a specific module.\n- `strapi:module1,sdk:module2`: enable logs for multiple modules.\n- `strapi:*`: match all namespaces under `strapi`.\n- `strapi:*,-strapi:module2`: enable all logs except those from `strapi:module2`.\n\n### Namespaces\n\nBelow is a list of available namespaces to use:\n\n| Namespace                        | Description                                                                               |\n| -------------------------------- | ----------------------------------------------------------------------------------------- |\n| `strapi:core`                    | Logs SDK initialization, configuration validation, and HTTP client setup.                 |\n| `strapi:validators:config`       | Logs details related to SDK configuration validation.                                     |\n| `strapi:validators:url`          | Logs URL validation processes.                                                            |\n| `strapi:http`                    | Logs HTTP client setup, request processing, and response/error handling.                  |\n| `strapi:auth:factory`            | Logs the registration and creation of authentication providers.                           |\n| `strapi:auth:manager`            | Logs authentication lifecycle management.                                                 |\n| `strapi:auth:provider:api-token` | Logs operations related to API token authentication.                                      |\n| `strapi:ct:collection`           | Logs interactions with collection-type content managers.                                  |\n| `strapi:ct:single`               | Logs interactions with single-type content managers.                                      |\n| `strapi:utils:url-helper`        | Logs URL helper utility operations (e.g., appending query parameters or formatting URLs). |\n| `strapi:files`                   | Logs interactions with the files manager.                                                 |\n\n## 🚀 Demo Projects\n\nThis repository includes demo projects located in the `/demo` directory to help you get started with using the client. The actual Strapi app is located in the `.strapi-app` directory.\n\n### Demo Structure\n\n- **`.strapi-app`**: the main Strapi app used for the demo projects.\n- **`demo/node-typescript`**: a Node.js project using TypeScript.\n- **`demo/node-javascript`**: a Node.js project using JavaScript.\n- **`demo/next-server-components`**: a Next.js project using TypeScript and server components.\n- **`demo/react-vite`**: a React project using Vite and TypeScript\n\n### Using Demo Commands\n\nThe repository supports running demo-related commands directly using the format `pnpm demo <command>`.\n\nTo display the entire list of available commands, use `pnpm demo help`\n\n#### Comprehensive Setup:\n\n- **`pnpm demo setup`**  \n  A complete setup command that installs dependencies, sets up the environment,\n  builds the projects, and seeds the database with initial data for the demo app.\n\n  It is a one-stop command for preparing everything.\n\n  ```bash\n  pnpm demo setup\n  ```\n\n#### Development:\n\n- **`pnpm demo app:start`**  \n  Starts the Strapi demo app in development mode. This is useful for testing and making changes to the Strapi backend.\n\n  ```bash\n  pnpm demo app:start\n  ```\n\n#### Database Seeding:\n\n- **`pnpm demo app:seed`**  \n  Seeds the Strapi app with sample data. Use this when you want to populate your Strapi app with default content.\n\n  ```bash\n  pnpm demo app:seed\n  ```\n\n- **`pnpm demo app:seed:clean`**  \n  Cleans the existing database and re-seeds the Strapi demo app.\n  This is helpful if you want to reset the demo data to its initial state.\n\n  ```bash\n  pnpm demo app:seed:clean\n  ```\n\n#### Build and Install:\n\n- **`pnpm demo build`**  \n  Builds the main Strapi app and all demo projects.\n\n  Use this to prepare the projects for use, ensuring all components are compiled and ready.\n\n  ```bash\n  pnpm demo build\n  ```\n\n- **`pnpm demo install`**  \n  Installs dependencies for the main Strapi app and all demo applications.\n\n  This command ensures that all required packages are downloaded and ready to go.\n\n  ```bash\n  pnpm demo install\n  ```\n\n#### Environment Setup:\n\n- **`pnpm demo app:env:setup`**  \n  Sets up the `.env` file for the main Strapi app by copying the example `.env.example` file if no `.env` file exists.\n\n  This ensures the environment is configured appropriately.\n\n  ```bash\n  pnpm demo app:env:setup\n  ```\n\n---\n\n#### Adding New Projects\n\nNew projects added to the `/demo` directory are automatically picked up by the demo scripts.\nThus, no explicit configuration updates are required for these commands to work with new demo directories.\n\n**Note:** if a project needs to be built to be used, add a `build` script\nto its `package.json` so that the demo scripts automatically run it.\n\n---\n\n#### Future Plans\n\nWe plan to expand the demo projects to include:\n\n- A basic HTML project\n- A Vue.js project (with or without server components)\n- A Svelte project\n","readmeFilename":"README.md"}