# minimatch.java **Repository Path**: mirrors_angelozerr/minimatch.java ## Basic Information - **Project Name**: minimatch.java - **Description**: Port of Node.js' minimatch for Java - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-04-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # minimatch.java [![License](https://img.shields.io/github/license/angelozerr/minimatch.java.svg)](https://github.com/angelozerr/minimatch.java/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/fr.opensagres.js/minimatch.java.svg)](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22minimatch.java%22) [![Build Status](https://secure.travis-ci.org/angelozerr/minimatch.java.png)](http://travis-ci.org/angelozerr/minimatch.java) Port of Node.js' [minimatch](https://github.com/isaacs/minimatch) to Java. # Usage ```java import minimatch.Minimatch; ... boolean result = Minimatch.minimatch("bar.foo", "*.foo"); // return true boolean result = Minimatch.minimatch("js/test.js", "**/**.js"); // return true boolean result = Minimatch.minimatch("js/test.html", "**/**.js"); // return false ``` # Build See cloudbees job: https://opensagres.ci.cloudbees.com/job/minimatch.java/ # Structure The basic structure of the project is given in the following way: * `src/main/java/` Java sources of minimatch.java. * `src/test/java/` JUnit tests of minimatch.java. * `html/` html samples which use JavaScript minimatch.