# apache/commons-io

Apache Commons IO

Repository: https://github.com/apache/commons-io
Canonical: https://ross.abutalabs.com/products/commons-io
Homepage: https://commons.apache.org/io/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: commons
Last push: 2026-08-31T11:18:48+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 6314, "days_push": 2, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1081, forks 728 (observed 2026-09-01T02:13:58.801718+00:00)

## What it is
Apache Commons IO is a mature Java utility library that simplifies input/output operations with helper classes like IOUtils, FileUtils, and FilenameUtils for streams, files, and filenames. It also provides file monitoring, file filters, comparators, and NIO Path extensions.

## Use cases
- copy files and directories in java
- read a file into a string or byte array
- monitor a directory for file changes
- manipulate file names and extensions cross-platform
- filter and sort files in a directory
- delete a directory tree recursively
- compare files by name, size, or extension

## When to choose
- you are on the JVM and want battle-tested IO utilities instead of hand-rolling stream and file handling
- you need file system monitoring, file filters, or filename manipulation in Java 8+
- you want a small, permissively licensed (Apache-2.0) dependency with long-term maintenance

## When to avoid
- you are not on the JVM
- you need async or reactive IO abstractions rather than blocking stream/file utilities
- you want a full filesystem abstraction or virtual filesystem - look at other libraries

## Facets
- artifact type: library
- maturity: stable
- function: file-system, serialization, developer-tools
- domain: developer-tools, files, cross-platform
- platform: jvm, cross-platform
- tags: java, io, file-utilities, streams, apache-commons, maven

## Member repositories
- apache/commons-io (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:13:58.801718+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:51:20.100966+00:00, confidence not recorded.
  - readme: https://github.com/apache/commons-io (fetched 2026-09-01T02:13:58.801718+00:00, sha 647a557fc6e8)
  - homepage: https://commons.apache.org/io/ (fetched 2026-08-29T12:53:37.003184+00:00, sha d6933d7865e3)
  - site_page: https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/charset/package-summary.html (fetched 2026-08-29T12:53:37.015137+00:00, sha 19d70d594efe)
  - site_page: https://commons.apache.org/proper/commons-io/apidocs/index.html (fetched 2026-08-29T12:53:37.007701+00:00, sha f3957b2ca51c)
  - site_page: https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/package-summary.html (fetched 2026-08-29T12:53:37.011028+00:00, sha 9527fde89165)
  - site_page: https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/build/package-summary.html (fetched 2026-08-29T12:53:37.013262+00:00, sha d4ff111a14c9)
  - site_page: https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/comparator/package-summary.html (fetched 2026-08-29T12:53:37.016845+00:00, sha 5130b56aa481)
  - site_page: https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/file/package-summary.html (fetched 2026-08-29T12:53:37.018629+00:00, sha 16efc0da6ea0)
  - site_page: https://commons.apache.org/proper/commons-io/index.html (fetched 2026-08-29T12:53:37.005954+00:00, sha 8bdb892a428a)
  - site_page: https://commons.apache.org/releases/index.html (fetched 2026-08-29T12:53:37.009296+00:00, sha d33eae5ee440)
- Data as of 2026-08-30T08:39:29.467469+00:00.
