# @astrojs/starlight

> Build beautiful, high-performance documentation websites with Astro

Latest version **0.42.1** (published 2026-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @astrojs/starlight
pnpm add @astrojs/starlight
yarn add @astrojs/starlight
bun add @astrojs/starlight
```

## Health

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

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

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.42.1 |
| Published | 2026-09-15 |
| First published | 2023-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 28 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 9244 |
| Author | Chris Swithinbank <swithinbank@gmail.com> |
| Maintainers | fredkschott, matthewp |
| Keywords | docs, documentation, astro, withastro, astro-integration |

## Links

- npm: https://www.npmjs.com/package/@astrojs/starlight
- Repository: https://github.com/withastro/starlight
- Homepage: https://starlight.astro.build
- Issues: https://github.com/withastro/starlight/issues
- npm.io page: https://npm.io/package/@astrojs/starlight

## Dependencies (28)

- [klona](https://npm.io/package/klona.md) ^2.0.6
- [vfile](https://npm.io/package/vfile.md) ^6.0.3
- [bcp-47](https://npm.io/package/bcp-47.md) ^2.1.0
- [i18next](https://npm.io/package/i18next.md) ^26.0.7
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.1
- [satteri](https://npm.io/package/satteri.md) ^0.10.3
- [unified](https://npm.io/package/unified.md) ^11.0.5
- [pagefind](https://npm.io/package/pagefind.md) ^1.5.2
- [ultrahtml](https://npm.io/package/ultrahtml.md) ^1.6.0
- [hastscript](https://npm.io/package/hastscript.md) ^9.0.1
- [@types/hast](https://npm.io/package/@types/hast.md) ^3.0.5
- [@astrojs/mdx](https://npm.io/package/@astrojs/mdx.md) ^8.0.0
- [@types/mdast](https://npm.io/package/@types/mdast.md) ^4.0.4
- [magic-string](https://npm.io/package/magic-string.md) ^1.2.3
- [@types/js-yaml](https://npm.io/package/@types/js-yaml.md) ^4.0.9
- [@astrojs/sitemap](https://npm.io/package/@astrojs/sitemap.md) ^3.7.3
- [hast-util-format](https://npm.io/package/hast-util-format.md) ^1.1.0
- [hast-util-select](https://npm.io/package/hast-util-select.md) ^6.0.4
- [remark-directive](https://npm.io/package/remark-directive.md) ^4.0.0
- [unist-util-visit](https://npm.io/package/unist-util-visit.md) ^5.1.0
- [hast-util-to-html](https://npm.io/package/hast-util-to-html.md) ^9.0.5
- [hast-util-to-string](https://npm.io/package/hast-util-to-string.md) ^3.0.1
- [@pagefind/default-ui](https://npm.io/package/@pagefind/default-ui.md) ^1.3.0
- [mdast-util-directive](https://npm.io/package/mdast-util-directive.md) ^3.1.0
- [mdast-util-to-string](https://npm.io/package/mdast-util-to-string.md) ^4.0.0
- [astro-expressive-code](https://npm.io/package/astro-expressive-code.md) ^0.44.0
- [mdast-util-to-markdown](https://npm.io/package/mdast-util-to-markdown.md) ^2.1.2
- [@astrojs/markdown-satteri](https://npm.io/package/@astrojs/markdown-satteri.md) ^0.4.0

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 0.42.1 (latest) — 2026-09-15
- 0.42.0 — 2026-09-02
- 0.41.11 — 2026-09-01
- 0.41.10 — 2026-08-28
- 0.41.9 — 2026-08-25
- 0.41.8 — 2026-08-24
- 0.41.7 — 2026-08-05
- 0.41.6 — 2026-07-31
- 0.41.5 — 2026-07-28
- 0.41.4 — 2026-07-22
- 0.41.3 — 2026-07-03
- 0.41.2 — 2026-07-01
- 0.41.1 — 2026-06-25
- 0.41.0 — 2026-06-23
- 0.40.0 — 2026-06-09
- … 177 more at https://npm.io/package/@astrojs/starlight/versions

## README

# <img src="https://github.com/withastro/starlight/assets/357379/494fcd83-42aa-4891-87e0-87402fa0b6f3" alt="" align="left" width="40" height="40"> Starlight

Starlight is a documentation website framework for [Astro][astro].

## Documentation

[Read the Starlight docs][docs] (they’re built with Starlight!)

## Support

Get help in the [Astro Discord][discord]. Post questions in our `#support` forum with the “starlight” tag, or visit our dedicated `#starlight` channel to discuss current development and more!

You can also submit bug reports and feature requests as [GitHub issues][issues].

## Contributing

Join us as a Starlight contributor! These links will help you get started:

- [Contributor Manual][contributing]
- [Code of Conduct][coc]
- [Community Guide][community]
- [Join the `#starlight` channel on Discord][discord]

## License

MIT

Copyright (c) 2023–present [Starlight contributors][contributors]

[astro]: https://astro.build/
[docs]: https://starlight.astro.build/
[contributing]: https://github.com/withastro/starlight/blob/main/CONTRIBUTING.md
[coc]: https://github.com/withastro/.github/blob/main/CODE_OF_CONDUCT.md
[community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md
[contributors]: https://github.com/withastro/starlight/graphs/contributors
[discord]: https://astro.build/chat/
[issues]: https://github.com/withastro/starlight/issues

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