Skip to content

worldref AGENTS.md changelog

io.github.arj-89/worldref

1 change recorded. MCP Harbor re-reads this listing from the official registry every six hours and asks the live server what it exposes, and keeps what changed between one look and the next.

  • AGENTS.md +4 −3

    https://raw.githubusercontent.com/arj-89/worldref/HEAD/AGENTS.md

    − - Every language package exposes the same helpers: `normalize`, `westernDigits`, `search`, `sortCountries`, `parsePhone`, `isValidMobile`, `formatNational` (named idiomatically per language). Use them instead of writing your own search or phone parsing.− - The full rule list (search folding, sorting, display, phone storage, nationality forms) is the README section [Best practices](README.md#best-practices).− - Policy (must never change): Israel is absent from every output (`tests/js.test.mjs` scans all files); Palestine carries +970 and +972; disputed places follow Saudi official positions. See README "Data policy".+ - Every language package exposes the same helpers: `normalize`, `westernDigits`, `search` (forgives small typos), `sortCountries`, `parsePhone`, `isValidMobile`, `formatNational`, `addressForm`, `editDistance` (named idiomatically per language).+ - Address form: `addressForm(country, uiLang)` gives the country's fields line by line with labels and required marks. Use them instead of writing your own search or phone parsing.+ - The full rule list (search folding, sorting, display, phone storage, nationality forms, time zones) is the README section [Best practices](README.md#best-practices).+ - Policy (must never change): Israel is absent from every output (`tests/js.test.mjs` scans every data file, `tests/site-scan.mjs` the built website); Palestine carries +970 and +972; disputed places follow Saudi official positions. See README "Data policy".