Preset: postal addresses

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
node.js, typescript
Domain
backend

Research direction

Read the Languages and presets guide linked in the issue, then inspect the definePreset() API and assertPreset() helper from fuzzy-toolkit/testing. Try realistic address cases covering abbreviations, unit numbers, and ordinal street names, with matches, differences, and normalized outputs. Done means proposing the planned cases in a comment first, then either publishing fuzzy-toolkit-preset-addresses with the fuzzy-toolkit-plugin keyword or opening a core PR.

Written by the indexing model from the issue text.

Description

help wanted preset

Matching street addresses written differently: 12 Main St. = 12 Main Street, 5 av. de la République = 5 avenue de la Republique. Abbreviations (St, Ave, Rd, Blvd, bd, av, r.), unit numbers, ordinal street names.

How to start

  1. Write it with definePreset(): see Languages and presets.
  2. Test it with assertPreset(preset, { matches, differs, normalized }) from fuzzy-toolkit/testing, on real-looking data.
  3. Either publish it on npm as fuzzy-toolkit-preset-addresses (keyword fuzzy-toolkit-plugin) and we link it from the docs, or open a PR to propose it for the core if it is useful to most users.

Comment here with the cases you plan to cover before you start.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
14m
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tfoucher5/fuzzy-toolkit

All issues in Tfoucher5/fuzzy-toolkit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.