# @arcblock/result-html-pages

> This package provide a function that generates html code for common error pages such as 404, 500, etc.

Latest version **3.5.4** (published 2026-06-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @arcblock/result-html-pages
pnpm add @arcblock/result-html-pages
yarn add @arcblock/result-html-pages
bun add @arcblock/result-html-pages
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.5.4 |
| Published | 2026-06-13 |
| First published | 2022-01-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wangshijun |
| Maintainers | wangshijun, polunzh, mave99a, gxw |
| Keywords | arcblock, result, pages |

## Links

- npm: https://www.npmjs.com/package/@arcblock/result-html-pages
- Repository: https://github.com/ArcBlock/ux
- Homepage: https://github.com/ArcBlock/ux#readme
- Issues: https://github.com/ArcBlock/ux/issues
- npm.io page: https://npm.io/package/@arcblock/result-html-pages

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 3.5.4 (latest) — 2026-06-13
- 3.5.3 — 2026-04-24
- 3.5.2 — 2026-02-10
- 3.5.1 — 2026-02-09
- 3.5.0 — 2026-02-03
- 3.4.15 — 2026-02-03
- 3.4.14 — 2026-01-29
- 3.4.13 — 2026-01-29
- 3.4.12 — 2026-01-27
- 3.4.11 — 2026-01-27
- 3.4.10 — 2026-01-23
- 3.4.9 — 2026-01-23
- 3.4.8 — 2026-01-16
- 3.4.7 — 2026-01-12
- 3.4.6 — 2026-01-09
- … 884 more at https://npm.io/package/@arcblock/result-html-pages/versions

## README

# result-html-pages

This package provide a function that generates html code for common error pages such as 404, 500, etc.

## Usage

``` js
const { render } = require('@arcblock/result-html-pages');
// or import { render } from '@arcblock/result-html-pages'

render({ status: '404' }) // => 404 page
render({ status: '403' }) // => 403 page
render({ status: '500' }) // => 500 page
render({ status: 'error' }) // => error page
render({ status: 'maintenance' }) // => maintenance page
render({ status: 'comingSoon' }) // => comingSoon page
render({ status: 'info', title: 'Here is a info message' }) // => info page
render({ title: '...', description: '...', icon: '...' }) // => custom result page
```

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