# @nextcloud/router

> Utils for generating Nextcloud URLs

Latest version **3.2.0** (published 2026-09-16) · GPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @nextcloud/router
pnpm add @nextcloud/router
yarn add @nextcloud/router
bun add @nextcloud/router
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2026-09-16 |
| First published | 2019-10-02 |
| Weekly downloads | 0 |
| License | GPL-3.0-or-later |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^20.0.0 \|\| ^22.0.0 \|\| ^24.0.0 |
| Dependencies | 1 |
| Unpacked size | 86.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 8 |
| Author | Nextcloud GmbH and Nextcloud contributors |
| Maintainers | icewind1991, skjnldsv, christophwurst, juliushaertl, nickvergessen, artonge, gretadoci, mejo-, susnux |
| Keywords | nextcloud |

## Links

- npm: https://www.npmjs.com/package/@nextcloud/router
- Repository: https://github.com/nextcloud-libraries/nextcloud-router
- Homepage: https://github.com/nextcloud-libraries/nextcloud-router#readme
- Issues: https://github.com/nextcloud-libraries/nextcloud-router/issues
- npm.io page: https://npm.io/package/@nextcloud/router

## Dependencies (1)

- [@nextcloud/typings](https://npm.io/package/@nextcloud/typings.md) ^1.10.0

## Recent versions

- 3.2.0 (latest) — 2026-09-16
- 3.1.0 — 2025-11-13
- 3.0.1 — 2024-04-22
- 3.0.0 — 2024-02-01
- 2.2.1 — 2024-01-24
- 2.2.0 — 2023-10-18
- 2.1.2 — 2023-06-14
- 2.1.1 — 2023-04-21
- 2.1.0 — 2023-04-20
- 2.0.1 — 2022-12-28
- 2.0.0 — 2021-04-07
- 1.2.0 — 2020-08-31
- 1.1.0 — 2020-06-04
- 1.0.2 — 2020-03-19
- 1.0.1 — 2020-03-19
- … 2 more at https://npm.io/package/@nextcloud/router/versions

## README

<!--
  - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  - SPDX-License-Identifier: GPL-3.0-or-later
-->

# @nextcloud/router

[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud-libraries/nextcloud-router)](https://api.reuse.software/info/github.com/nextcloud-libraries/nextcloud-router)
[![npm](https://img.shields.io/npm/v/@nextcloud/router?style=for-the-badge)](https://www.npmjs.com/package/@nextcloud/router)
[![Code coverage](https://img.shields.io/codecov/c/github/nextcloud-libraries/nextcloud-router/master?style=for-the-badge)](https://app.codecov.io/github/nextcloud-libraries/nextcloud-router)
[![Documentation](https://img.shields.io/badge/Documentation-0082C9?style=for-the-badge)
](https://nextcloud-libraries.github.io/nextcloud-router/)

Generate URLs for the Nextcloud front-end

Documentation: https://nextcloud-libraries.github.io/nextcloud-router/

---
_Source: https://npm.io/package/@nextcloud/router · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
