Usage

Add mvnpm support to your Roq project. Import npm packages directly through Maven coordinates, with no Node.js or npm installation required.

mvnpm bridges Maven and npm, converting npm packages into Maven artifacts that the Web Bundler can resolve and bundle.

Getting started

Add npm packages as Maven dependencies in your pom.xml:

<dependency>
    <groupId>org.mvnpm</groupId>
    <artifactId>htmx.org</artifactId>
    <version>2.0.4</version>
    <scope>provided</scope>
</dependency>

Then import them in your JavaScript:

import 'htmx.org';

Browse available packages at mvnpm.org.