Skip to main content

Packages and runtime

This page describes the published 11.0.0 Node packages used by the first-parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. exercise and the selected settings that affect their runtime. The package names and import surfaces below were checked against installed 11.0.0 manifests. The library reference gives callable signatures, options, and result types. Limits and release status distinguishes downloadable data from installed and evaluated coveragecoverageThe fraction of a population or region for which a data source has real, non-placeholder entries — e.g. 47% rooftop coverage on Texas addresses. Distinct from accuracy on the rows that are present..

The data and locales reference lists bundleevidence bundleThe pair of retrieval-augmented input channels (street-type + locality-surface) that feed lexicon membership as soft per-token evidence alongside the text. Shipped in 6.7.0; trained natively from step 0 in the from-scratch base line. dependencies, modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' families, and scope classifications. The CLI reference lists the current checkout's generated command and flag tables with selected published 11.0.0 checks.

Packages to install directly​

PackagePurposePublic surface used here
mailwoman@11.0.0CLI and parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. pipelinestaged pipelineMailwoman's runtime architecture: a sequence of pure-function stages (normalize → query-shape → locale-hint → kind-classifier → phrase-grouper → classifier → decoder) connected by typed handoffs. Each stage is published as its own npm package.mailwoman and mw binaries; mailwoman for parse; mailwoman/geocode for geocodinggeocodingThe process of converting an address into geographic coordinates (latitude and longitude). Mailwoman geocodes in a multi-tier cascade: exact address-point match → street interpolation → locality centroid. Each tier is progressively coarser but more widely available. calls.
@mailwoman/neural@11.0.0Neural classifierneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' runtime@mailwoman/neural for NeuralAddressClassifier.
@mailwoman/neural-weights-en-us@11.0.0en-US modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' and tokenizertokenizerThe component that converts a raw address string into a sequence of numeric token IDs the model can process. Mailwoman's tokenizer is a SentencePiece unigram model trained specifically on postal addresses. filesAsset package read by NeuralAddressClassifier.loadFromWeights({ locale: "en-US" }).
@mailwoman/codex@11.0.0Component vocabularyvocabularyThe fixed set of tokens a tokenizer can produce. Mailwoman's SentencePiece vocabulary is tens of thousands of subword pieces, with byte fallback for anything outside it. and postal shape helpers@mailwoman/codex/component and @mailwoman/codex/us.

The first-parse tutorial installs the first three packages and runs a complete parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates.. The record-check guide also installs @mailwoman/codex for isZipCode. mailwoman declares @mailwoman/neural and onnxruntime-node as dependencies. The tutorial installs @mailwoman/neural explicitly because its script imports NeuralAddressClassifier from that package. A geocodinggeocodingThe process of converting an address into geographic coordinates (latitude and longitude). Mailwoman geocodes in a multi-tier cascade: exact address-point match → street interpolation → locality centroid. Each tier is progressively coarser but more widely available. call also needs a resolverresolverThe component that converts parsed address components (locality, region, postcode) into coordinates by looking them up in the gazetteer. The resolver ranks candidates by name match, population, and proximity, and returns the best-matching place with its centroid or polygon. and geographic data. The library reference gives the resolverresolverThe component that converts parsed address components (locality, region, postcode) into coordinates by looking them up in the gazetteer. The resolver ranks candidates by name match, population, and proximity, and returns the best-matching place with its centroid or polygon. interface and call signature.

Mailwoman requires Node.js ^24.22.3 || >=26.13.1. These are the patched release floors from the November 2026 Node.js security release.

The manifest also declares type: "module". The examples on these pages are TypeScript files that Node runs directly, from a project whose package.json sets "type": "module". The en-US weightsparameterA single learned number inside a model — one weight or bias. Mailwoman's encoder has roughly 30 million of them; training is the search for good values. package version is 11.0.0, while its model cardmodel cardA JSON metadata file (model-card.json) shipped with each weights bundle. It declares the model version, lineage, label set, required inference channels (anchor, gazetteer), calibration data, and training provenance. identifies the modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' inside it as version 10.8.0.

Runtime variables and path precedence​

VariablePublished 11.0.0 behavior
MAILWOMAN_DATA_ROOTRoot for downloaded data and runtime artifacts. The default is the platform data directory.
MAILWOMAN_CANDIDATE_DBPins a candidate database path. Candidate resolution checks an explicit call option first, then this variable, then the active selection, then the conventional path under the data root. A missing pinned file yields no candidate path; none selects the WOFWOF (Who's On First). An open-source gazetteer of places maintained by Mapzen/whosonfirst. Mailwoman builds a custom SQLite database from WOF GeoJSON repos, extended with postcode data, importance scores, and coincident-role relations. FTS backend.
MAILWOMAN_WOF_DBSupplies comma-separated WOFWOF (Who's On First). An open-source gazetteer of places maintained by Mapzen/whosonfirst. Mailwoman builds a custom SQLite database from WOF GeoJSON repos, extended with postcode data, importance scores, and coincident-role relations. admin database paths when --resolve-db is absent. Without either pin, geocodinggeocodingThe process of converting an address into geographic coordinates (latitude and longitude). Mailwoman geocodes in a multi-tier cascade: exact address-point match → street interpolation → locality centroid. Each tier is progressively coarser but more widely available. reads the active selection's WOFWOF (Who's On First). An open-source gazetteer of places maintained by Mapzen/whosonfirst. Mailwoman builds a custom SQLite database from WOF GeoJSON repos, extended with postcode data, importance scores, and coincident-role relations. extractsextractA partial output file of the corpus build, written in Parquet format. The training pipeline streams extracts row by row., then the conventional paths under the data root when the selection lists none.
MW_LOCALESupplies an environment localelocaleThe combination of language and country an address comes from. en-US and fr-FR are the locales Mailwoman ships weights for. hint to the runtime pipelinestaged pipelineMailwoman's runtime architecture: a sequence of pure-function stages (normalize → query-shape → locale-hint → kind-classifier → phrase-grouper → classifier → decoder) connected by typed handoffs. Each stage is published as its own npm package. when a caller doesn't supply a localelocaleThe combination of language and country an address comes from. en-US and fr-FR are the locales Mailwoman ships weights for..
MAILWOMAN_MODEL_CARDSupplies the first modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.'-card path tried by the native server's health report. A missing or unreadable file falls back to the installed en-US weightsparameterA single learned number inside a model — one weight or bias. Mailwoman's encoder has roughly 30 million of them; training is the search for good values. card, then the repository copy.

MAILWOMAN_DATA_ROOT selects a directory, while MAILWOMAN_CANDIDATE_DB and MAILWOMAN_WOF_DB pin database paths. An explicit database path takes precedence over its environment variable where the published resolverresolverThe component that converts parsed address components (locality, region, postcode) into coordinates by looking them up in the gazetteer. The resolver ranks candidates by name match, population, and proximity, and returns the best-matching place with its centroid or polygon. accepts one. A missing candidate pin can leave the WOFWOF (Who's On First). An open-source gazetteer of places maintained by Mapzen/whosonfirst. Mailwoman builds a custom SQLite database from WOF GeoJSON repos, extended with postcode data, importance scores, and coincident-role relations. FTS backend available. The geocoder skips missing pinned WOFWOF (Who's On First). An open-source gazetteer of places maintained by Mapzen/whosonfirst. Mailwoman builds a custom SQLite database from WOF GeoJSON repos, extended with postcode data, importance scores, and coincident-role relations. paths and reports an error if none remains. An unreadable artifact listed by the active selection raises an error. Check resolved paths with mailwoman doctor. The release status records the verification host's installed-data state. Check the data root of each deployment separately.

Checked file sizes​

These are local apparent file and directory sizes from the published 11.0.0 install used for the first-parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. exercise. The measurement ran on Linux x86_64 with npm 11.19.1. du -sb measured each installed package directory separately, and stat -c %s measured the modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' file. The values describe the listed directory or file in this installation. They exclude the rest of node_modules and any downloaded geocodinggeocodingThe process of converting an address into geographic coordinates (latitude and longitude). Mailwoman geocodes in a multi-tier cascade: exact address-point match → street interpolation → locality centroid. Each tier is progressively coarser but more widely available. database.

Installed pathMethodBytes
node_modules/mailwomandu -sb17,969,301
node_modules/@mailwoman/neuraldu -sb1,649,870
node_modules/@mailwoman/neural-weights-en-usdu -sb65,018,687
node_modules/@mailwoman/neural-weights-en-us/model.onnxstat -c %s29,829,842

The total size of a clean install containing only the three first-parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. packages hasn't been measured for this page. This page doesn't measure runtime memory, browser download size, or server capacity. Run the Mailwoman HTTP server reports one resident-memory measurement from one Linux host, and Parse an address in a browser reports one browser transfer size. The bundleevidence bundleThe pair of retrieval-augmented input channels (street-type + locality-surface) that feed lexicon membership as soft per-token evidence alongside the text. Shipped in 6.7.0; trained natively from step 0 in the from-scratch base line. registry's declared data estimates are on limits and release status.

On 18 November 2026, npm view <package>@11.0.0 dist.unpackedSize returned the same three package-directory byte values shown above. This registry metadata checks the package contents separately from the earlier du -sb run. The model.onnx file value remains the earlier install's measurement. The registry metadata doesn't report that file's size.

Published sources​