382
total weekly downloads
16 packages
@ph-dev-utils/address-core
Headless, framework-agnostic state machine for a Philippine cascading address picker (region → province → city → ZIP). Built on @ph-dev-utils/core.
@ph-dev-utils/address-data
Per-city PSGC barangay chunks for @ph-dev-utils/address-* pickers, served via CDN (jsDelivr). One small JSON file per city/municipality. Not a code dependency.
@ph-dev-utils/address-element
Framework-agnostic <ph-address-picker> Web Component — cascading Philippine address picker (region → province → city → barangay → ZIP). Works in Vue, Angular, Svelte, or plain HTML. Built on @ph-dev-utils/address-core.
@ph-dev-utils/address-react
React cascading Philippine address picker (region → province → city → ZIP). <PhAddressPicker> + usePhAddress(), built on @ph-dev-utils/address-core.
@ph-dev-utils/banks
Philippine bank & e-money registry — SWIFT/BIC codes + InstaPay/PESONet participation flags for universal/commercial, thrift, rural & digital banks and e-wallets (GCash, Maya, etc.). Sourced from BSP/PCHC/BancNet/PDIC.
@ph-dev-utils/bir
BIR (Bureau of Internal Revenue) tax utilities for the Philippines — VAT (12% / ₱3M threshold), percentage tax (3% standing, with historical 1% rate awareness), individual income tax (graduated TRAIN rates + 8% option), expanded withholding tax (EWT, RR 1
@ph-dev-utils/business
Philippine SEC company/partnership registration-number validator and parser — recognizes the CS/CN/A/FS/FN/PG prefix + year + sequence formats and labels the entity type. Pairs with @ph-dev-utils/psic for industry.
@ph-dev-utils/core
Filipino developer utilities — peso (incl. Tagalog number-words), government IDs (TIN/SSS/PhilHealth/Pag-IBIG/PhilSys National ID/UMID/passport/PRC), phone (parse + E.164 normalize), address (regions/provinces/cities/municipalities), and PH holidays (regu
@ph-dev-utils/dates
Philippine date utilities — business-day arithmetic (PH holiday-aware), and Filipino (Tagalog) date formatting. Companion to @ph-dev-utils/core.
@ph-dev-utils/faker
Filipino-localized fake-data generator — names, addresses (regions/provinces/cities), phones, government IDs, peso amounts, businesses, PH holiday/working-day dates, and full payslip fixtures (uses @ph-dev-utils/payroll).
@ph-dev-utils/geo
Philippine geo utilities — representative coordinates for all PSGC cities/municipalities + haversine distance, nearest-city, and within-radius helpers. Data from GeoNames (CC BY 4.0).
@ph-dev-utils/payroll
Filipino payroll calculators — SSS, PhilHealth, Pag-IBIG, 13th-month, BIR withholding tax for all 4 payroll periods (TRAIN), de minimis caps (RR 29-2025), ₱90k 13th-month/bonus exemption, net take-home. Versioned tables.
@ph-dev-utils/postal
Philippine ZIP/postal codes with zero-dependency lookup helpers. Joins to @ph-dev-utils/core cities/municipalities. Data from GeoNames (CC BY 4.0).
@ph-dev-utils/psgc-barangays
Complete PSGC barangay dataset for the Philippines (PSA Q4 2024, 42,046 entries) with zero-dependency lookup helpers. Joins to @ph-dev-utils/core cities/municipalities.
@ph-dev-utils/psic
Philippine Standard Industrial Classification (PSIC 2009) — 21 sections (A–U) and 88 divisions with lookup, validation, and search helpers. Data from the PSA/NSCB.
sungka
Rules engine for one turn of Philippine Sungka, with an exact best-score solver and drop-by-drop sowing events for animation. Dependency-free ES modules.