{"_id":"@arqendev/ph-statutory-benefits","name":"@arqendev/ph-statutory-benefits","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@arqendev/ph-statutory-benefits","version":"0.1.0","description":"Pure calculators and versioned tables for DOLE Handbook 2024 statutory monetary benefits","license":"MIT","type":"module","publishConfig":{"access":"public"},"engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./2024":{"import":{"types":"./dist/2024/index.d.ts","default":"./dist/2024/index.js"},"require":{"types":"./dist/2024/index.d.cts","default":"./dist/2024/index.cjs"}}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsup","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@types/node":"^22.10.0","tsup":"^8.3.5","typescript":"^5.7.2","vitest":"^2.1.8"},"gitHead":"db4ff098ab64a6756a15761d784006e7a1b0b28a","_id":"@arqendev/ph-statutory-benefits@0.1.0","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-o0AvrpiYtJA1Q4nEa6yC0/irfGSZzNa17D+DbLSxuartJj8b97WNc1N9A1+7IeYINmx6F9HOprKjd/u0buemrg==","shasum":"635715fec62cd39e60ca2abbf7162016de3fbcca","tarball":"https://registry.npmjs.org/@arqendev/ph-statutory-benefits/-/ph-statutory-benefits-0.1.0.tgz","fileCount":14,"unpackedSize":226209,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDRlfTqqPWM0K6QaFNnqfV62nmT8FbFM6ylXcVfip01PgIgVWQXa77ey3nTYa/kCdtYvl5uybCXTKiiy4TGk11Vj7I="}]},"_npmUser":{"name":"arqendev","email":"hello@arqen.dev"},"directories":{},"maintainers":[{"name":"arqendev","email":"hello@arqen.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ph-statutory-benefits_0.1.0_1785848587960_0.1594541563985481"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-04T13:03:07.766Z","0.1.0":"2026-08-04T13:03:08.135Z","modified":"2026-08-04T13:03:08.380Z"},"maintainers":[{"name":"arqendev","email":"hello@arqen.dev"}],"description":"Pure calculators and versioned tables for DOLE Handbook 2024 statutory monetary benefits","license":"MIT","readme":"# @arqendev/ph-statutory-benefits\n\nPure calculators and versioned tables for DOLE Handbook **2024** statutory monetary benefits. No calendars, no punch logic, no I/O.\n\nFormulas follow the [Workers' Statutory Monetary Benefits Handbook 2024 Edition](https://nwpc.dole.gov.ph/wp-content/uploads/2024/11/Workers-Statutory-Monetary-Benefits-Handbook-2024-Edition.pdf). This package encodes handbook computation tables and formulas only. It is not legal advice.\n\n## Install\n\n```bash\nnpm install @arqendev/ph-statutory-benefits\n```\n\n## Look up a finished multiplier cell\n\nA payroll engine resolves `dayScenario` and `hourKind` upstream, then reads the handbook table cell.\n\n```typescript\nimport {\n  getMultiplier,\n  computeHourPay,\n  type DayScenario,\n} from \"@arqendev/ph-statutory-benefits/2024\";\n\nconst scenario: DayScenario = \"regularHolidayOnRestDay\";\nconst hourlyRate = 76.25;\n\nconst pay = computeHourPay({\n  hourlyRate,\n  scenario,\n  hourKind: \"nsdOvertime\",\n  hours: 1,\n});\n// → 283.50 (golden vector #12)\n```\n\n## First eight hours for a worked day\n\n```typescript\nimport {\n  getMultiplier,\n  computeFirstEightHoursPay,\n} from \"@arqendev/ph-statutory-benefits/2024\";\n\nconst scenario = \"doubleRegularHoliday\" as const;\nconst adr = 610;\n\nconst mult = getMultiplier(scenario, \"firstEightHours\"); // 3.00\nconst pay = computeFirstEightHoursPay({ dailyRate: adr, scenario });\n// → 1830.00 (golden vector #4)\n```\n\n## Edition pin\n\nImport from `@arqendev/ph-statutory-benefits` or `@arqendev/ph-statutory-benefits/2024`. Future handbook editions ship as sibling paths (for example `/2025`).\n\n## What this package does not do\n\n- Holiday calendars or proclamations\n- Punch / schedule / NSD-window minute math\n- SSS, PhilHealth, Pag-IBIG, or BIR contribution tables\n- Policies that pay above the statutory floor\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-8e784d1e95f4076b022010cdf8682c6f"}