{"_id":"@aturio/aturio","name":"@aturio/aturio","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"@aturio/aturio","version":"0.1.2","description":"Aturio.ai is the Southeast Asia-wide unified regulation API. Pasal.id is the Indonesia-specific API, and laws.sg is its Singapore surface.","main":"index.js","types":"index.d.ts","type":"commonjs","exports":{".":"./index.js"},"publishConfig":{"access":"public"},"license":"Apache-2.0","author":{"name":"Ilham Firdausi Putra"},"homepage":"https://aturio.ai","repository":{"type":"git","url":"https://github.com/Aturio"},"engines":{"node":">=18"},"keywords":["legal","law","southeast-asia","indonesia","singapore","api","regulations","sdk","rest","mcp"],"_id":"@aturio/aturio@0.1.2","_nodeVersion":"22.17.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-MbZC8U5nDs0kAARDEUmF7xXy+hEe/KVlVLPc+foOv8QJjAO/t9niBjeP+VW+Ch8fdSU1TWyMFpAwUfnpT/VmjA==","shasum":"cb4520ae74a74205775749c5b07327d38236fe6f","tarball":"https://registry.npmjs.org/@aturio/aturio/-/aturio-0.1.2.tgz","fileCount":4,"unpackedSize":9683,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCEdzJsGhsCxDu2grJsl0xtyT8YLePRFwhqa/dQwhfOWwIhAINOsQ+n/cFyP1Ds/ZMTRlOAiaKxuTx9aQMdTf8TZyI7"}]},"_npmUser":{"name":"ilhamfp","email":"halo@pasal.id"},"directories":{},"maintainers":[{"name":"ilhamfp","email":"halo@pasal.id"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aturio_0.1.2_1773867756928_0.27913802190698944"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-18T21:02:36.863Z","0.1.2":"2026-03-18T21:02:37.097Z","modified":"2026-03-18T21:02:37.383Z"},"maintainers":[{"name":"ilhamfp","email":"halo@pasal.id"}],"description":"Aturio.ai is the Southeast Asia-wide unified regulation API. Pasal.id is the Indonesia-specific API, and laws.sg is its Singapore surface.","homepage":"https://aturio.ai","keywords":["legal","law","southeast-asia","indonesia","singapore","api","regulations","sdk","rest","mcp"],"repository":{"type":"git","url":"https://github.com/Aturio"},"author":{"name":"Ilham Firdausi Putra"},"license":"Apache-2.0","readme":"# Aturio\n\n**Aturio.ai - The Southeast Asia-Wide Unified Regulation API**\n\nAturio.ai is the Southeast Asia-wide unified regulation API. It connects country-specific regulation surfaces across the region, including [pasal.id](https://pasal.id) for Indonesia and [laws.sg](https://laws.sg) for Singapore.\n\n## Current Release\n\nThis JavaScript SDK currently includes the Indonesia-specific [Pasal.id API](https://pasal.id/api). Aturio.ai is the broader Southeast Asia-wide API layer, with [laws.sg](https://laws.sg) as the Singapore surface in the same network.\n\n## Installation\n\n```bash\nnpm install @aturio/aturio\n```\n\n## Usage\n\n```js\nconst { createIndonesiaClient, search, getLaw } = require(\"@aturio/aturio\");\n\nconst client = createIndonesiaClient();\n\nconst searchResults = await search(\"upah minimum\", { limit: 3 });\nconst law = await getLaw(\"/akn/id/act/uu/2003/13\");\nconst recentLaws = await client.listLaws({ type: \"UU\", limit: 5 });\n\nconsole.log(searchResults.total);\nconsole.log(law.work.title);\nconsole.log(recentLaws.laws[0]?.frbr_uri);\n```\n\n## Included Methods\n\n- `search(query, options)` -> search Indonesian legal materials\n- `listLaws(options)` -> list laws with pagination and filters\n- `getLaw(frbrUri)` -> fetch one law with article content\n- `createIndonesiaClient(options)` -> create a reusable client instance\n\n## Platform Coverage\n\n- [pasal.id](https://pasal.id) - Indonesia-specific API (live, included in this package)\n- [laws.sg](https://laws.sg) - Singapore surface in the Aturio.ai network (coming soon)\n\n## Links\n\n- Website: [aturio.ai](https://aturio.ai)\n- Indonesia: [pasal.id](https://pasal.id)\n- Singapore: [laws.sg](https://laws.sg)\n- GitHub: [github.com/Aturio](https://github.com/Aturio)\n- API docs: [pasal.id/api](https://pasal.id/api)\n","readmeFilename":"README.md","_rev":"1-d3c8f397dfef09bfdbdfed7dec177c40"}