npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kobolabs/garment-measurements

v1.0.0

Published

Standard measurement points, size charts, and grade rules for the apparel industry

Downloads

124

Readme

garment-measurements

Standard measurement points, size charts, and grade rules for the apparel industry.

License: MIT npm version

A structured, machine-readable dataset of garment measurement definitions, multi-region size charts, and grading increments. Designed for fashion tech developers, PLM systems, pattern makers, and brands that need a reliable baseline for sizing.

What's included

  • 41 measurement point definitions with how-to-measure instructions, garment categories, and industry aliases
  • Size charts for women's tops, women's bottoms, men's tops, men's bottoms, and unisex (t-shirts/hoodies)
  • Regional coverage across US, EU, UK, and AU sizing systems with conversion tables
  • Grade rules defining the increment between each size for women's and men's tops
  • All measurements in centimetres (half-body where applicable)

Quick start

npm install @kobolabs/garment-measurements
const points = require('@kobolabs/garment-measurements');
const womensTops = require('@kobolabs/garment-measurements/data/size-charts/womens-tops.json');

// Get the chest width for a US size M
const chestM = womensTops.regions.US.measurements['chest-width']['M'];
console.log(`Chest width (half): ${chestM} cm`); // 47 cm

Measurement points

The data/measurement-points.json file defines 41 standard Points of Measurement (POM). Each entry includes an ID, display name, industry code, measuring instruction, applicable garment categories, and common aliases.

| ID | Name | Categories | Description | |----|------|------------|-------------| | chest-width | Chest Width | tops, dresses, outerwear, knitwear | Measure across the chest from armhole to armhole, 2.5 cm below the armhole | | across-shoulder | Across Shoulder | tops, dresses, outerwear, knitwear | Measure from shoulder seam to shoulder seam across the back yoke | | sleeve-length | Sleeve Length | tops, outerwear, knitwear | Measure from the shoulder seam to the cuff edge along the outer arm | | body-length-front | Body Length Front | tops, dresses, knitwear | Measure from the highest shoulder point (HPS) to the hem, along the front | | waist-width | Waist Width | bottoms, skirts | Measure across the top of the waistband from side seam to side seam | | hip-width | Hip Width | bottoms, skirts, dresses | Measure across the fullest part of the hip, 18-20 cm below the waistband | | inseam | Inseam | bottoms | Measure from the crotch point to the trouser hem along the inner leg | | front-rise | Front Rise | bottoms | Measure from the centre front waistband through the crotch to the crotch point | | back-rise | Back Rise | bottoms | Measure from the centre back waistband through the crotch to the crotch point | | armhole-depth | Armhole Depth | tops, dresses, outerwear, knitwear | Measure from the shoulder seam to the underarm seam | | hem-width | Hem Width | tops, dresses, outerwear, knitwear | Measure across the bottom hem from side seam to side seam | | thigh-width | Thigh Width | bottoms | Measure across the thigh at the widest point, 2.5 cm below the crotch | | neck-width | Neck Width | tops, dresses, outerwear, knitwear | Measure across the neck opening at the highest point | | collar-stand | Collar Stand | tops, outerwear | Height of the collar band at centre back | | torso-length | Torso Length | swimwear, bodysuits | Measure from shoulder over the crotch and back to the opposite shoulder |

See data/measurement-points.json for the full set of 41 definitions.

Size charts

All size charts are in data/size-charts/ and follow a consistent JSON structure. Measurements are in centimetres, half-body where applicable.

| File | Category | Sizes | Regions | |------|----------|-------|---------| | womens-tops.json | Women's tops | XS-XXL (US 0-16) | US, EU, UK, AU | | womens-bottoms.json | Women's bottoms | XS-XXL (US 0-16) | US, EU, UK, AU | | mens-tops.json | Men's tops | XS-XXL (EU 44-56) | US, EU, UK, AU | | mens-bottoms.json | Men's bottoms | 28-40 (inch waist) | US, EU, UK, AU | | unisex.json | Unisex t-shirts & hoodies | XS-XXL | US, EU, UK, AU |

Example: Women's tops (US)

| Point | XS | S | M | L | XL | XXL | |-------|---:|--:|--:|--:|---:|----:| | Chest Width | 42 | 44 | 47 | 50 | 54 | 58 | | Body Length Front | 60 | 62 | 64 | 66 | 68 | 70 | | Across Shoulder | 37 | 38 | 39.5 | 41 | 43 | 45 | | Sleeve Length | 58 | 59 | 60 | 61 | 62 | 63 | | Hem Width | 42 | 44.5 | 47.5 | 51 | 55 | 59 |

Grade rules

Grade rules define the measurement increment between adjacent sizes. They are in data/grade-rules/ and specify a base size from which grading is applied.

{
  "category": "womens-tops",
  "baseSize": "M",
  "rules": {
    "chest-width": { "XS-S": 2, "S-M": 3, "M-L": 3, "L-XL": 4, "XL-XXL": 4 },
    "sleeve-length": { "XS-S": 1, "S-M": 1, "M-L": 1, "L-XL": 1, "XL-XXL": 1 }
  }
}

This means the chest grows by 2 cm from XS to S, 3 cm from S to M, and so on. Sleeve length grows by a consistent 1 cm per size. Larger jumps in the upper size range (L-XL, XL-XXL) are standard practice to accommodate proportional body changes.

Available grade rules:

| File | Category | Base Size | |------|----------|-----------| | womens-tops.json | Women's tops | M | | mens-tops.json | Men's tops | M |

Data format

Measurement points (data/measurement-points.json)

{
  "id": "chest-width",
  "name": "Chest Width",
  "code": "POM-01",
  "description": "Measure straight across the chest from armhole seam to armhole seam...",
  "categories": ["tops", "dresses", "outerwear", "knitwear"],
  "aliases": ["bust width", "chest circumference half"]
}

Size charts (data/size-charts/*.json)

{
  "category": "womens-tops",
  "unit": "cm",
  "regions": {
    "US": {
      "sizes": ["XS", "S", "M", "L", "XL", "XXL"],
      "numericSizes": [0, 2, 4, 6, 8, 10, 12, 14, 16],
      "measurements": {
        "chest-width": { "XS": 42, "S": 44, "M": 47, ... }
      }
    }
  },
  "sizeConversions": {
    "US-to-EU": { "XS": "32", "S": "34-36", ... }
  }
}

Grade rules (data/grade-rules/*.json)

{
  "category": "womens-tops",
  "unit": "cm",
  "baseSize": "M",
  "rules": {
    "chest-width": { "XS-S": 2, "S-M": 3, "M-L": 3, "L-XL": 4, "XL-XXL": 4 }
  }
}

Size conversions

Women's

| US | EU | UK | AU | |---:|---:|---:|---:| | XS (0-2) | 32 | 4 | 4 | | S (4) | 34-36 | 6-8 | 6-8 | | M (6-8) | 36-38 | 8-10 | 8-10 | | L (10-12) | 40 | 12 | 12 | | XL (14) | 42 | 14 | 14 | | XXL (16) | 44 | 16 | 16 |

Men's

| US | EU | UK | AU | |---:|---:|---:|---:| | XS (34) | 44-46 | 34 | 34 | | S (36) | 46-48 | 36 | 36 | | M (38-40) | 48-50 | 38-40 | 38-40 | | L (40-42) | 50-52 | 40-42 | 40-42 | | XL (42-44) | 52-54 | 42-44 | 42-44 | | XXL (44-46) | 54-56 | 44-46 | 44-46 |

Sources

Measurements in this dataset are based on widely used industry-standard ranges drawn from contemporary fashion production. They represent a moderate/regular fit baseline and may vary by brand, fit preference, or target market.

These values are intended as a starting point. Individual brands should adjust based on their fit model, target demographic, and design intent. No single size chart is universally correct — sizing is a function of brand identity as much as body measurement.

Key references:

  • ASTM D5585 (Standard Tables of Body Measurements for Adult Female Misses Figure Type)
  • ASTM D6240 (Standard Tables of Body Measurements for Men)
  • ISO 8559 (Garment Construction and Anthropometric Surveys)
  • Industry tech pack conventions from contemporary fashion production

Contributing

See CONTRIBUTING.md for guidelines on submitting corrections, new regional charts, and additional garment categories.

License

MIT


Built by the team at Kobo — modern PLM for fashion brands.