{"_id":"casamare","_rev":"3-ebe18c258c145726f98308dbba0d312d","name":"casamare","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0-stage":{"name":"casamare","version":"0.0.0-stage","_id":"casamare@0.0.0-stage","stub":true,"maintainers":[{"name":"casamare","email":"littleme2005@proton.me"}],"dist":{"shasum":"ed645a1dd99987c57e60e712a6b8d3e9cd77006c","tarball":"https://registry.npmjs.org/casamare/-/casamare-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-M06LyVVcjJnuOR4+Pcl7lRkl+hU5z9VEZCEQVYft1a7qOJYRCEGOYuF4xWOjxwQLV1bvSVGyRDjEv4C0u6GlZA==","signatures":[{"sig":"MEUCIF1A7IC0dG6GV++1M773Fee9MDeCEUbAI+vvY2QWVUWhAiEA1KEQcbUXbboqbwSDOG32mpBYL/c7MlNno6yZvLMi77g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":330},"_npmUser":{"name":"casamare","email":"littleme2005@proton.me"},"description":"Temporary package placeholder for staged publishing","directories":{}},"1.0.0":{"name":"casamare","version":"1.0.0","keywords":["casamare","angular","sdk","listing"],"license":"MIT","_id":"casamare@1.0.0","maintainers":[{"name":"casamare","email":"littleme2005@proton.me"}],"dist":{"shasum":"2c565193b9a19d4572a37d0db3675458f66a06f7","tarball":"https://registry.npmjs.org/casamare/-/casamare-1.0.0.tgz","fileCount":56,"integrity":"sha512-VF18ga9AMbzehiQ5pLfkTgny7TeVj3DapdVhyByWvsIK12qVv/CfGctswORzDbp6V5Q+beXao6D9vmTVcKZG2w==","signatures":[{"sig":"MEYCIQDJ4P/gvhIvm4sN4BsXNuPfZbT5zR+AjvlsAxTBoATprQIhAKwL2+CYKr8KCKwlMaysVl0LPpgDdEWBMk2bFApqILrN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCnRof8eHxSTCZfZgcdelDS/ZcBltrpdxEqnwtsOfrDLgIgOw2NAoA2Jr423fsSxC4t2kM8c2QziZIrwEU56OQhEDM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":641898},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./http":{"types":"./dist/http/index.d.ts","default":"./dist/http/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./listing":{"types":"./dist/listing/index.d.ts","default":"./dist/listing/index.js"},"./routing":{"types":"./dist/routing/index.d.ts","default":"./dist/routing/index.js"}},"scripts":{"link":"node scripts/link.mjs","lint":"node scripts/lint.mjs","test":"node --test tests/*.test.mjs","build":"node scripts/build.mjs","clean":"node scripts/clean.mjs","prepare":"npm run build","test:watch":"node --watch --test tests/*.test.mjs"},"_npmUser":{"name":"casamare","email":"littleme2005@proton.me"},"_npmVersion":"10.9.9","description":"Casamare Angular helper SDK.","directories":{},"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.28.2"},"_npmOperationalInternal":{"tmp":"tmp/casamare_1.0.0_1792446828406_0.6340053705654483","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"_id":"casamare@1.0.1","dist":{"shasum":"f606d066ac9d5e05b15f5bf84bce2bb4e8ab2179","tarball":"https://registry.npmjs.org/casamare/-/casamare-1.0.1.tgz","fileCount":56,"integrity":"sha512-mAoTPu90eAhpsb1VD44blfh5jMHL9ARkFiXpM4t/gk9ESKe8bPb88JbH/r2GsEjx4tbTAyb/Eh7XV9aEmAxbRA==","signatures":[{"sig":"MEUCIC4AnIAcwGjN4E9YA+/9I3Uw5hi/e1MwJHYVVguc+jdsAiEA33FT10w84ABQci4f/+OTid3Ffc8e8ix/kHF9Iu1xjPk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICmHdSIDfjvL/ggj4x4GW2lI2bMCWAONGJ6WXyq2OQMSAiEA529YFzIZ/OVwmYTb/8DWBRsYR0hl+5SjUTa9a+uInLo="}],"unpackedSize":655220},"main":"dist/index.js","name":"casamare","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./http":{"types":"./dist/http/index.d.ts","default":"./dist/http/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./listing":{"types":"./dist/listing/index.d.ts","default":"./dist/listing/index.js"},"./routing":{"types":"./dist/routing/index.d.ts","default":"./dist/routing/index.js"}},"license":"MIT","scripts":{"link":"node scripts/link.mjs","lint":"node scripts/lint.mjs","test":"node --test tests/*.test.mjs","build":"node scripts/build.mjs","clean":"node scripts/clean.mjs","prepare":"npm run build","test:watch":"node --watch --test tests/*.test.mjs"},"version":"1.0.1","_npmUser":{"name":"casamare","email":"littleme2005@proton.me"},"keywords":["casamare","angular","sdk","listing"],"_npmVersion":"10.9.9","description":"Casamare Angular helper SDK.","directories":{},"maintainers":[{"name":"casamare","email":"littleme2005@proton.me"}],"_nodeVersion":"22.23.3","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.28.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/casamare_1.0.1_1792505373122_0.8027572899194884"}}},"time":{"created":"2026-10-19T21:52:51.319Z","modified":"2026-10-20T14:09:33.513Z","0.0.0-stage":"2026-10-19T21:52:51.319Z","1.0.0":"2026-10-19T21:53:48.500Z","1.0.1":"2026-10-20T14:09:33.305Z"},"license":"MIT","keywords":["casamare","angular","sdk","listing"],"description":"Casamare Angular helper SDK.","maintainers":[{"name":"casamare","email":"littleme2005@proton.me"}],"readme":"# Casamare\n\nAngular helper SDK for Casa Mare listing workflows.\n\n## Installation\n\n```bash\nnpm install casamare\n```\n\n## Usage\n\n```javascript\nimport {\n  CasamareCoreModule,\n  CasamareHttpClient,\n  CasamareListingService,\n  createListingSummary,\n} from \"casamare\";\n\nconst client = new CasamareHttpClient(\"https://api.example.test\");\nconst listingService = new CasamareListingService();\nconst asset = await listingService.load();\n\nconsole.log(\n  CasamareCoreModule.id,\n  client.buildUrl(\"/listing\"),\n  asset.resource,\n  asset.encoding,\n  createListingSummary({ id: \"listing-1\", title: \"Apartament\", price: 65000, currency: \"EUR\" }),\n);\n```\n\n## Modules\n\n- `casamare/core` — shared module and provider helpers.\n- `casamare/http` — request URL building and interceptor helpers.\n- `casamare/listing` — bundled listing resource access and mapping.\n- `casamare/routing` — lightweight route registration helpers.\n- `casamare/utils` — small assertion and object utilities.\n\n## API\n\n### `CasamareCoreModule`\n\nRegisters shared SDK providers.\n\n### `CasamareHttpClient`\n\nBuilds normalized request URLs and supports request interception.\n\n### `CasamareListingService`\n\nReads the bundled listing resource.\n\n#### `load()`\n\nReturns a promise resolving to the bundled asset and its encoding.\n\n### `CasamareRoutingModule`\n\nRegisters routes in a compact local registry.\n\n## Scripts\n\n```bash\nnpm run build\nnpm test\nnpm run lint\nnpm run link\n```\n","readmeFilename":"README.md"}