{"_id":"@axach/aletheia","name":"@axach/aletheia","dist-tags":{"latest":"1.32.2"},"versions":{"1.32.2":{"name":"@axach/aletheia","version":"1.32.2","description":"A demo npm package for @axach/aletheia","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["aletheia","demo","axa-ch"],"author":{"name":"AXA Switzerland"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/axa-ch/aletheia.git"},"_id":"@axach/aletheia@1.32.2","bugs":{"url":"https://github.com/axa-ch/aletheia/issues"},"homepage":"https://github.com/axa-ch/aletheia#readme","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-8TmHtMUdLZyFQ4oPL5xKStXNeIxoq3OcJwcVrWQa9aFQ3dHjBpy5oLrDhFJ4xP7ljH3X4qaKd6ulRnmGND91rg==","shasum":"be9e080f4d0c7ddaf4278dd6573138a9e66ee056","tarball":"https://registry.npmjs.org/@axach/aletheia/-/aletheia-1.32.2.tgz","fileCount":4,"unpackedSize":3518,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC5Ye7mKI+WJIp7PpkNsIT9ZHEbITnrdn1NqRRXrcByxAiAZirzhYiGaFdCK8OHTJZsuUvd1TTB6NQej+o7PrwkOzw=="}]},"_npmUser":{"name":"rem0","email":"reentrancy@proton.me"},"directories":{},"maintainers":[{"name":"rem0","email":"reentrancy@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aletheia_1.32.2_1767710770052_0.8730771736657874"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-06T14:46:09.953Z","1.32.2":"2026-01-06T14:46:10.203Z","modified":"2026-01-06T14:46:10.596Z"},"maintainers":[{"name":"rem0","email":"reentrancy@proton.me"}],"description":"A demo npm package for @axach/aletheia","homepage":"https://github.com/axa-ch/aletheia#readme","keywords":["aletheia","demo","axa-ch"],"repository":{"type":"git","url":"git+https://github.com/axa-ch/aletheia.git"},"author":{"name":"AXA Switzerland"},"bugs":{"url":"https://github.com/axa-ch/aletheia/issues"},"license":"MIT","readme":"# @axach/aletheia\n\n一个演示用的 npm 包，版本 1.32.2\n\n## 安装\n\n```bash\nnpm install @axach/aletheia\n```\n\n## 使用\n\n```javascript\nconst aletheia = require('@axach/aletheia');\n\n// 获取所有用户\nconst users = aletheia.getUsers();\nconsole.log(users);\n\n// 根据ID获取用户\nconst user = aletheia.getUserById(1);\nconsole.log(user);\n\n// 获取所有产品\nconst products = aletheia.getProducts();\nconsole.log(products);\n\n// 根据ID获取产品\nconst product = aletheia.getProductById(1);\nconsole.log(product);\n\n// 获取设置\nconst settings = aletheia.getSettings();\nconsole.log(settings);\n\n// 更新设置\nconst updatedSettings = aletheia.updateSettings({\n  features: {\n    enableDarkMode: true\n  }\n});\nconsole.log(updatedSettings);\n```\n\n## API\n\n### `getUsers()`\n获取所有用户数组\n\n### `getUserById(id)`\n根据ID获取单个用户\n\n### `getProducts()`\n获取所有产品数组\n\n### `getProductById(id)`\n根据ID获取单个产品\n\n### `getSettings()`\n获取应用设置\n\n### `updateSettings(newSettings)`\n更新应用设置\n\n## 许可证\n\nMIT","readmeFilename":"README.md","_rev":"1-d9e4a3180ea69abe8dae5c88126e3767"}