# @previewjs/core

Latest version **30.2.0** (published 2024-12-16) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @previewjs/core
pnpm add @previewjs/core
yarn add @previewjs/core
bun add @previewjs/core
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 30.2.0 |
| Published | 2024-12-16 |
| First published | 2021-10-20 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 24 |
| Unpacked size | 161.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1936 |
| Author | François Wouts |
| Maintainers | fwouts |

## Links

- npm: https://www.npmjs.com/package/@previewjs/core
- Repository: https://github.com/fwouts/previewjs
- Homepage: https://previewjs.com
- Issues: https://github.com/fwouts/previewjs/issues
- npm.io page: https://npm.io/package/@previewjs/core

## Dependencies (24)

- [zod](https://npm.io/package/zod.md) ^3.24.0
- [pino](https://npm.io/package/pino.md) ^9.5.0
- [vite](https://npm.io/package/vite.md) ^6.0.3
- [axios](https://npm.io/package/axios.md) ^1.7.9
- [globby](https://npm.io/package/globby.md) ^14.0.2
- [express](https://npm.io/package/express.md) ^4.21.2
- [ts-node](https://npm.io/package/ts-node.md) ^10.9.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.2.0
- [typescript](https://npm.io/package/typescript.md) ^5.7.2
- [pino-pretty](https://npm.io/package/pino-pretty.md) ^11.2.1
- [assert-never](https://npm.io/package/assert-never.md) ^1.3.0
- [html-escaper](https://npm.io/package/html-escaper.md) ^3.0.3
- [@previewjs/api](https://npm.io/package/@previewjs/api.md) ^16.1.0
- [@previewjs/vfs](https://npm.io/package/@previewjs/vfs.md) ^2.1.4
- [tsconfig-paths](https://npm.io/package/tsconfig-paths.md) ^4.2.0
- [http-terminator](https://npm.io/package/http-terminator.md) ^3.2.0
- [@previewjs/config](https://npm.io/package/@previewjs/config.md) ^7.0.1
- [@previewjs/iframe](https://npm.io/package/@previewjs/iframe.md) ^18.0.0
- [exclusive-promises](https://npm.io/package/exclusive-promises.md) ^1.0.3
- [@previewjs/analyzer-api](https://npm.io/package/@previewjs/analyzer-api.md) ^0.1.8
- [@previewjs/type-analyzer](https://npm.io/package/@previewjs/type-analyzer.md) ^10.1.5
- [@fwouts/vite-tsconfig-paths](https://npm.io/package/@fwouts/vite-tsconfig-paths.md) ^4.2.1
- [@previewjs/serializable-values](https://npm.io/package/@previewjs/serializable-values.md) ^9.0.6
- [rollup-plugin-friendly-type-imports](https://npm.io/package/rollup-plugin-friendly-type-imports.md) ^1.0.3

## Recent versions

- 30.2.0 (latest) — 2024-12-16
- 30.1.0 — 2024-12-15
- 30.0.0 — 2024-12-10
- 29.1.1 — 2024-11-11
- 29.1.0 — 2024-03-05
- 29.0.1 — 2024-02-21
- 29.0.0 — 2024-02-01
- 28.1.0 — 2023-12-02
- 28.0.3 — 2023-11-30
- 28.0.2 — 2023-11-06
- 28.0.1 — 2023-11-04
- 28.0.0 — 2023-10-29
- 27.1.3 — 2023-10-06
- 27.1.2 — 2023-10-02
- 27.1.1 — 2023-09-29
- … 109 more at https://npm.io/package/@previewjs/core/versions

## README

> [!WARNING]
> **This project is no longer maintained.**
>
> Life got busy — work, kids, and the usual chaos. I no longer have the time or energy to keep up with issues, PRs, or framework updates. Preview.js has been effectively abandoned.
>
> The code is still here and you're welcome to fork it, but don't expect updates or support.

# Preview.js

Preview.js lets you preview React components and Storybook stories instantly in your IDE.

[![Demo](assets/previewjs-overview.gif)](https://previewjs.com)

## Get started

Preview.js is available for [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=zenclabs.previewjs).

## Documentation

[Read the docs to learn more](https://previewjs.com)

## Contributing

Please see the [contributing guide](./CONTRIBUTING.md).

## License

Preview.js is divided into multiple packages, each licensed under either AGPL-3.0 or MIT.

Preview.js Pro is proprietary and not available under an open source license.

Please refer to LICENSE under each directory to find out which license applies.

Copyright (c) 2022-present Zenc Labs Pty Ltd

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