{"_id":"@breadstone/ziegel-intl-units","_rev":"9-e57997aeef3d15e7e8e2e7bf93569cb6","name":"@breadstone/ziegel-intl-units","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@breadstone/ziegel-intl-units","version":"0.0.1","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.1","maintainers":[{"name":"ruederennes","email":"realsancezz@gmail.com"}],"bugs":{"url":"https://breadstone.visualstudio.com/ziegel/_workitems/create/Bug"},"dist":{"shasum":"34b0b54d800c5f6001bd611ff9031c74d0fe4b56","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.1.tgz","fileCount":195,"integrity":"sha512-Q8kJZr2yvqdw+9wWVeA0LvX8JudhgP8P2HqOqmnihvZa3oIWjZmWYF+ALi5eMWN3wp1aRggraKIHhcHdLatdSg==","signatures":[{"sig":"MEYCIQDAgZXxqOlwZVZsDC37f9XAf2cxTtJZfocEfwiSIic1JQIhAKeSSAAXOH98UPo/FAIdhTru25FVI6ugBIYv+7IfvlFX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1609804},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"6e85e7a52b57c3f29013f4fd6383076cd22dc9a0","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","actor":{"name":"ruederennes","type":"user","email":"realsancezz@gmail.com"},"email":"realsancezz@gmail.com"},"commonjs":"./Index.js","repository":{"url":"https://breadstone.visualstudio.com/ziegel/_git/ziegel","type":"git"},"_npmVersion":"11.3.0","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"24.0.1","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.1","@breadstone/ziegel-intl":"0.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.1_1750993748908_0.8491554678857156","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@breadstone/ziegel-intl-units","version":"0.0.2","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.2","maintainers":[{"name":"ruederennes","email":"realsancezz@gmail.com"}],"bugs":{"url":"https://breadstone.visualstudio.com/ziegel/_workitems/create/Bug"},"dist":{"shasum":"2146125d10ad811492c441f6c3c4e965710d22df","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.2.tgz","fileCount":196,"integrity":"sha512-C4I0EU3kqcmRMHmVobjhmvYatWAWtDH60vXh8ZF0gLIulGnNucxhFWPPitRkO84Ozr7FwjRY0JWqT72PmmWdsA==","signatures":[{"sig":"MEYCIQCVzvOk+E6EjBIjk0l/D7iEEastudiM5aJgteLRH5EgugIhANLalluqar9my07Ayu9/gcJJAOJNF/V+vToM9x6PjhSD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1610267},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"810d476703d4a1544150277fa8510b8110622415","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","actor":{"name":"ruederennes","type":"user","email":"realsancezz@gmail.com"},"email":"realsancezz@gmail.com"},"commonjs":"./Index.js","repository":{"url":"https://breadstone.visualstudio.com/ziegel/_git/ziegel","type":"git"},"_npmVersion":"11.3.0","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"24.0.1","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.2","@breadstone/ziegel-intl":"0.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.2_1750994529169_0.4120723612517483","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@breadstone/ziegel-intl-units","version":"0.0.3","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.3","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"homepage":"https://github.com/RueDeRennes/ziegel#readme","bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dist":{"shasum":"5de5779697a36926067c9f916f0af94102e029fd","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.3.tgz","fileCount":192,"integrity":"sha512-oAetLM6UFXh3/b9s58r7iA2LCUi9VYLNlzM711EwR5DdJRICxsaFg1mn4M59H36+OxpZPZoFyadnrOucb3aS3Q==","signatures":[{"sig":"MEYCIQCEiGDxTYO48rJ7cDySQQtGNNUzGFeBTjXn/8skyFEQzwIhAIhj8GTGMphm70jn0gX2iLXrAJhxrgYOa/SBP8Y+j40N","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":690799},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"b4d03ca0908154138403f2a27ca8efb54bee6e80","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","actor":{"name":"ruederennes","type":"user","email":"npm@breadstone.de"},"email":"npm@breadstone.de"},"commonjs":"./Index.js","repository":{"url":"git+https://github.com/RueDeRennes/ziegel.git","type":"git"},"_npmVersion":"10.9.2","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.3","@breadstone/ziegel-intl":"0.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.3_1751575611570_0.4052318215355817","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@breadstone/ziegel-intl-units","version":"0.0.4","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.4","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"homepage":"https://github.com/RueDeRennes/ziegel#readme","bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dist":{"shasum":"666b840744c37a02c110712abbe4a229c87021b5","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.4.tgz","fileCount":192,"integrity":"sha512-tLRSvtfgcgRnwygmW8TmjH9N1aLNdzQmYF6dSe0GCsGwrSxhqyKMaUBPU2ol5vJmKYdH9nUVBD8LQv65wwtd/A==","signatures":[{"sig":"MEUCIANnMmG02LHm1fwPqXsyVpc45DXRkNakv0g6xW5J8rBNAiEA6vig3HhfvJC5alrwzkkxYY+iIRT/XMM0iuwE1sXYgU4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":690799},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"87efb239ae0aa6121dc170cd110bc9be7bb0c622","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","actor":{"name":"ruederennes","type":"user","email":"npm@breadstone.de"},"email":"npm@breadstone.de"},"commonjs":"./Index.js","repository":{"url":"git+https://github.com/RueDeRennes/ziegel.git","type":"git"},"_npmVersion":"10.9.2","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.4","@breadstone/ziegel-intl":"0.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.4_1751576125309_0.7609855147328346","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@breadstone/ziegel-intl-units","version":"0.0.5","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.5","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"homepage":"https://github.com/RueDeRennes/ziegel#readme","bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dist":{"shasum":"c7b5d6810573385900afbcc3e4c418a8fc2e45ea","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.5.tgz","fileCount":192,"integrity":"sha512-M9+6ZU9g1RQZ7Pj7oQ/vym2M114g7vnjL4uO0vn49uzwylLglwEWHlUlj8H3JF89zHaFkqw8GKt0mLdDmD+llw==","signatures":[{"sig":"MEUCICvZ0jb+pta7/2K4y68+itED5StpTQdTIsNdq0apzvFzAiEAqL/p+q7/GnXEdt91Ra0QVs7us7e9/E0osl6eUczZ8q4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":694674},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"7eb0efd9f6fa2d25da83ba6a3bd737a0da028bf7","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","actor":{"name":"ruederennes","type":"user","email":"npm@breadstone.de"},"email":"npm@breadstone.de"},"commonjs":"./Index.js","repository":{"url":"git+https://github.com/RueDeRennes/ziegel.git","type":"git"},"_npmVersion":"9.8.1","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.5","@breadstone/ziegel-intl":"0.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.5_1751699295576_0.27399518446656623","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@breadstone/ziegel-intl-units","version":"0.0.6","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.6","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"homepage":"https://github.com/RueDeRennes/ziegel#readme","bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dist":{"shasum":"7e5f9f54c2d508768af4aaa60a8ffefa5b2098ea","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.6.tgz","fileCount":192,"integrity":"sha512-wL6AruOm75iWhfKZ2EyMA0wN1M3MTkHeLwTo1BSn3CaYYTJwB8HrVsaRYotKxvrLigPeGQdhOy7ldBdA1C06+Q==","signatures":[{"sig":"MEYCIQC/jYxN8ybiXdbxvw2L3/F9ZXRjZ3912q3GOEiauGUiywIhAPLltmwmqApzYFXiDuFDOZZEciEKTdVdoizjoczyOJCZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":699329},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"2513477b6a87dede7a429076b048197086e267b2","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","email":"npm@breadstone.de"},"commonjs":"./Index.js","repository":{"url":"git+https://github.com/RueDeRennes/ziegel.git","type":"git"},"_npmVersion":"11.4.2","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"24.4.1","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.6","@breadstone/ziegel-intl":"0.0.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.6_1754467867543_0.9990006865973275","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@breadstone/ziegel-intl-units","version":"0.0.7","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.7","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"homepage":"https://github.com/RueDeRennes/ziegel#readme","bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dist":{"shasum":"100fbbfd711b5a9260699114828992ce591312da","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.7.tgz","fileCount":192,"integrity":"sha512-Mv6nXadN23zfx2szVKY/ecsKibt7FZ7TD5tQ/Exp6gG4RTBEIjlBEbTneM4/zWUc8wOOe8Bcb4b0tQZF7gsS4w==","signatures":[{"sig":"MEYCIQDyPkx6+q0sicdC9MGMhWsLD2Jhu6mGYWV22Ry7U6hekgIhAPXnx+pkctuQPuSQt12wRc2ev0zZCu0Y+jXFx2db4JlR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":699329},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"7647e351d85d9dfbae9e9e9d84095559a75822d3","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","email":"npm@breadstone.de"},"commonjs":"./Index.js","repository":{"url":"git+https://github.com/RueDeRennes/ziegel.git","type":"git"},"_npmVersion":"11.4.2","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"24.4.1","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.7","@breadstone/ziegel-intl":"0.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.7_1754468266823_0.3120766223878888","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@breadstone/ziegel-intl-units","version":"0.0.8","author":{"url":"https://www.breadstone.de","name":"andre.wehlert","email":"awehlert@breadstone.de"},"license":"MIT","_id":"@breadstone/ziegel-intl-units@0.0.8","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"homepage":"https://github.com/RueDeRennes/ziegel#readme","bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dist":{"shasum":"8edcc1bbcf2cb9d30de1e4cda23881cc9621c6ed","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.8.tgz","fileCount":192,"integrity":"sha512-dsRis17eym8NvKlCFtZPUGjIAzrxrxO7+uBs6tOvzm2dHYyJSSUSynN0cUX8zERBbAgga2l3sgRG6oUxWDVrlQ==","signatures":[{"sig":"MEYCIQD3BPIPm1oyQHqtkNa6u3kF39dwB3CpbrZ7kiv87JStOgIhAKP5nmFFFvFXyEOuNmkaGaT2pZsjxvqwSfHCOGuHj1Y5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":697960},"main":"./Index.js","types":"./Index.d.ts","module":"./Index.js","gitHead":"e3ad0a5eb92747c06f8642ef6b1b2e012ef6cb77","typings":"./Index.d.ts","_npmUser":{"name":"ruederennes","email":"npm@breadstone.de"},"commonjs":"./Index.js","repository":{"url":"git+https://github.com/RueDeRennes/ziegel.git","type":"git"},"_npmVersion":"11.4.2","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","directories":{},"_nodeVersion":"24.4.1","dependencies":{"tslib":"^2.8.1","@breadstone/ziegel-core":"0.0.8","@breadstone/ziegel-intl":"0.0.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ziegel-intl-units_0.0.8_1754745297664_0.7625327137919802","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@breadstone/ziegel-intl-units","version":"0.0.9","description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","license":"MIT","author":{"name":"andre.wehlert","email":"awehlert@breadstone.de","url":"https://www.breadstone.de"},"main":"./Index.js","module":"./Index.js","commonjs":"./Index.js","typings":"./Index.d.ts","types":"./Index.d.ts","repository":{"type":"git","url":"git+https://github.com/RueDeRennes/ziegel.git"},"bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"dependencies":{"@breadstone/ziegel-core":"0.0.9","@breadstone/ziegel-intl":"0.0.9","tslib":"^2.8.1"},"_id":"@breadstone/ziegel-intl-units@0.0.9","gitHead":"efc417cb60db843da253c8b83aa7ea54fe94ed5f","homepage":"https://github.com/RueDeRennes/ziegel#readme","_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-5P6wlY9nrMvRjGll5C8chvL42Oqjek2zMFVgPUW819FdGYiS4w3VDgdb2JPe2uktO8uU6ALAy7USrtkSBboNzg==","shasum":"8b4cdd2c773363a707186b5d8983e5040d8c6a09","tarball":"https://registry.npmjs.org/@breadstone/ziegel-intl-units/-/ziegel-intl-units-0.0.9.tgz","fileCount":192,"unpackedSize":697960,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC/2Zi+mZP4naIsbVy7wlpxaxI0phzcvfeymI9P4K+LxAIgbGUXy588lZRKAwYW7LnnvLPToD3KjjnleJw+XMp6ZBI="}]},"_npmUser":{"name":"ruederennes","email":"npm@breadstone.de"},"directories":{},"maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ziegel-intl-units_0.0.9_1756450325040_0.3477064192147252"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-27T03:09:08.790Z","modified":"2025-08-29T06:52:05.481Z","0.0.1":"2025-06-27T03:09:09.130Z","0.0.2":"2025-06-27T03:22:09.379Z","0.0.3":"2025-07-03T20:46:51.803Z","0.0.4":"2025-07-03T20:55:25.528Z","0.0.5":"2025-07-05T07:08:15.756Z","0.0.6":"2025-08-06T08:11:07.733Z","0.0.7":"2025-08-06T08:17:47.020Z","0.0.8":"2025-08-09T13:14:57.849Z","0.0.9":"2025-08-29T06:52:05.213Z"},"bugs":{"url":"https://github.com/RueDeRennes/ziegel/issues"},"author":{"name":"andre.wehlert","email":"awehlert@breadstone.de","url":"https://www.breadstone.de"},"license":"MIT","homepage":"https://github.com/RueDeRennes/ziegel#readme","repository":{"type":"git","url":"git+https://github.com/RueDeRennes/ziegel.git"},"description":"Contains classes of the Unit Conversion library that are essential for the conversion between different units of measurement.","maintainers":[{"name":"ruederennes","email":"npm@breadstone.de"}],"readme":"# @breadstone/ziegel-intl-units\r\n\r\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\r\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue.svg)](https://www.typescriptlang.org/)\r\n[![npm](https://img.shields.io/badge/npm-@breadstone/ziegel--intl--units-red.svg)](https://www.npmjs.com/package/@breadstone/ziegel-intl-units)\r\n\r\nComprehensive units of measurement and quantity system for the ziegel framework. Provides strongly-typed quantities, unit conversions, and internationalized formatting for physical measurements.\r\n\r\n> **Units & Measurements**: Complete measurement system with type-safe quantities, unit conversion, and culture-aware formatting for scientific and engineering applications.\r\n\r\n## 🚀 Overview\r\n\r\n`@breadstone/ziegel-intl-units` provides:\r\n- **Quantity System**: Strongly-typed quantities for Length, Mass, Area, Volume, Energy measurements\r\n- **Unit Conversion**: Seamless conversion between metric, imperial, and custom unit systems\r\n- **Internationalized Formatting**: Culture-aware display and formatting of measurements\r\n- **Type Safety**: Full TypeScript support with interfaces and type guards\r\n- **Multiple Unit Systems**: Support for metric, imperial, and custom measurement systems\r\n- **Extensible Architecture**: Easy to add new units, quantities, and measurement types\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install @breadstone/ziegel-intl-units\r\n# or\r\nyarn add @breadstone/ziegel-intl-units\r\n```\r\n\r\n## 🧩 Features & Usage Examples\r\n\r\n### Length Quantities\r\n\r\n```typescript\r\nimport { LengthQuantity, LengthUnit, ILengthQuantity } from '@breadstone/ziegel-intl-units';\r\n\r\n// Create and convert length measurements\r\nconst meters = new LengthQuantity(100, LengthUnit.Meter);\r\nconst feet = meters.convertTo(LengthUnit.Foot);\r\nconst inches = meters.convertTo(LengthUnit.Inch);\r\n\r\nconsole.log(`${meters.value} m = ${feet.value} ft = ${inches.value} in`);\r\n\r\n// Type checking with interfaces\r\nfunction processLength(length: ILengthQuantity) {\r\n  return length.convertTo(LengthUnit.Centimeter);\r\n}\r\n```\r\n\r\n### Mass and Weight\r\n\r\n```typescript\r\nimport { MassQuantity, MassUnit, IMassQuantity } from '@breadstone/ziegel-intl-units';\r\n\r\nconst kilograms = new MassQuantity(75, MassUnit.Kilogram);\r\nconst pounds = kilograms.convertTo(MassUnit.Pound);\r\nconst stones = kilograms.convertTo(MassUnit.Stone);\r\n\r\nconsole.log(`${kilograms.value} kg = ${pounds.value} lbs = ${stones.value} st`);\r\n\r\n// Type guards for validation\r\nimport { isMassQuantity } from '@breadstone/ziegel-intl-units';\r\nif (isMassQuantity(someValue)) {\r\n  // TypeScript knows someValue is IMassQuantity\r\n  const grams = someValue.convertTo(MassUnit.Gram);\r\n}\r\n```\r\n\r\n### Area Measurements\r\n\r\n```typescript\r\nimport { AreaQuantity, AreaUnit, IAreaQuantity } from '@breadstone/ziegel-intl-units';\r\n\r\nconst squareMeters = new AreaQuantity(100, AreaUnit.SquareMeter);\r\nconst squareFeet = squareMeters.convertTo(AreaUnit.SquareFoot);\r\nconst acres = squareMeters.convertTo(AreaUnit.Acre);\r\n\r\nconsole.log(`${squareMeters.value} m² = ${squareFeet.value} ft² = ${acres.value} acres`);\r\n```\r\n\r\n### Volume and Capacity\r\n\r\n```typescript\r\nimport { VolumeQuantity, VolumeUnit, IVolumeQuantity } from '@breadstone/ziegel-intl-units';\r\n\r\nconst liters = new VolumeQuantity(50, VolumeUnit.Liter);\r\nconst gallons = liters.convertTo(VolumeUnit.Gallon);\r\nconst cubicFeet = liters.convertTo(VolumeUnit.CubicFoot);\r\n\r\nconsole.log(`${liters.value} L = ${gallons.value} gal = ${cubicFeet.value} ft³`);\r\n```\r\n\r\n### Energy Measurements\r\n\r\n```typescript\r\nimport { EnergyQuantity, EnergyUnit, IEnergyQuantity } from '@breadstone/ziegel-intl-units';\r\n\r\nconst joules = new EnergyQuantity(1000, EnergyUnit.Joule);\r\nconst calories = joules.convertTo(EnergyUnit.Calorie);\r\nconst kilowattHours = joules.convertTo(EnergyUnit.KilowattHour);\r\n\r\nconsole.log(`${joules.value} J = ${calories.value} cal = ${kilowattHours.value} kWh`);\r\n```\r\n\r\n### Internationalized Formatting\r\n\r\n```typescript\r\nimport {\r\n  LengthQuantityFormat, MassQuantityFormat, AreaQuantityFormat,\r\n  VolumeQuantityFormat, EnergyQuantityFormat\r\n} from '@breadstone/ziegel-intl-units';\r\n\r\n// Format quantities with culture-specific formatting\r\nconst lengthFormatter = new LengthQuantityFormat('en-US');\r\nconst massFormatter = new MassQuantityFormat('de-DE');\r\n\r\nconst distance = new LengthQuantity(1500, LengthUnit.Meter);\r\nconst weight = new MassQuantity(75, MassUnit.Kilogram);\r\n\r\nconsole.log(lengthFormatter.format(distance, 'short')); // \"1500 m\"\r\nconsole.log(lengthFormatter.format(distance, 'long'));  // \"1500 meters\"\r\nconsole.log(massFormatter.format(weight, 'long'));      // \"75 Kilogramm\"\r\n```\r\n\r\n### Unit System Management\r\n\r\n```typescript\r\nimport { UnitSystem } from '@breadstone/ziegel-intl-units';\r\n\r\n// Work with different unit systems\r\nconsole.log(UnitSystem.Metric);   // For metric system\r\nconsole.log(UnitSystem.Imperial); // For imperial system\r\nconsole.log(UnitSystem.US);       // For US customary units\r\n\r\n// Determine preferred units based on unit system\r\nfunction getPreferredLengthUnit(system: UnitSystem) {\r\n  switch (system) {\r\n    case UnitSystem.Metric: return LengthUnit.Meter;\r\n    case UnitSystem.Imperial: return LengthUnit.Foot;\r\n    default: return LengthUnit.Meter;\r\n  }\r\n}\r\n```\r\n\r\n## 📚 Package import points\r\n\r\n```typescript\r\nimport {\r\n    // Formatting\r\n    AreaQuantityFormat, EnergyQuantityFormat, LengthQuantityFormat,\r\n    MassQuantityFormat, VolumeQuantityFormat,\r\n\r\n    // Quantities (Base & Implementations)\r\n    QuantityBase,\r\n    AreaQuantity, EnergyQuantity, LengthQuantity, MassQuantity, VolumeQuantity,\r\n\r\n    // Quantity Interfaces & Type Guards\r\n    IAreaQuantity, isAreaQuantity,\r\n    IEnergyQuantity, isEnergyQuantity,\r\n    ILengthQuantity, isLengthQuantity,\r\n    IMassQuantity, isMassQuantity,\r\n    IQuantity, isQuantity,\r\n    IVolumeQuantity, isVolumeQuantity,\r\n\r\n    // Unit Systems & Units\r\n    UnitSystem,\r\n    AreaUnit, EnergyUnit, LengthUnit, MassUnit, VolumeUnit\r\n} from '@breadstone/ziegel-intl-units';\r\n```\r\n\r\n## 📚 API Documentation\r\n\r\nFor detailed API documentation, visit: [API Docs](./../../.docs/api/ziegel-intl-units/index.md)\r\n\r\n## Related Packages\r\n\r\n- **@breadstone/ziegel-core**: Foundation utilities and type definitions\r\n- **@breadstone/ziegel-intl**: Core internationalization support\r\n- **@breadstone/ziegel-intl-commerce**: Commerce-specific internationalization\r\n\r\n## License\r\n\r\nMIT\r\n\r\n## Issues\r\n\r\nPlease report bugs and feature requests in the [Issue Tracker](https://github.com/RueDeRennes/ziegel/issues)\r\n\r\n---\r\n\r\n*Part of the [ziegel Enterprise TypeScript Framework](../../README.md)*","readmeFilename":"README.md"}