# @dannyboyng/dialog

> An Angular library to display basic dialog windows to the user

Latest version **21.0.0** (published 2025-12-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dannyboyng/dialog
pnpm add @dannyboyng/dialog
yarn add @dannyboyng/dialog
bun add @dannyboyng/dialog
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 21.0.0 |
| Published | 2025-12-05 |
| First published | 2018-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 100.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | dannyboyng |
| Keywords | dialog, dialogs, angular, angular 17+, info, warning, error, confirm, input, choice, global config, multiline input, auto close, modal |

## Links

- npm: https://www.npmjs.com/package/@dannyboyng/dialog
- Repository: https://github.com/DannyBoyNg/Dialog
- Homepage: https://github.com/DannyBoyNg/Dialog#readme
- Issues: https://github.com/DannyBoyNg/Dialog/issues
- npm.io page: https://npm.io/package/@dannyboyng/dialog

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 21.0.0 (latest) — 2025-12-05
- 20.0.8 — 2025-12-04
- 20.0.7 — 2025-09-03
- 20.0.6 — 2025-09-03
- 20.0.5 — 2025-07-16
- 20.0.4 — 2025-07-15
- 20.0.3 — 2025-07-15
- 20.0.2 — 2025-07-14
- 20.0.1 — 2025-07-14
- 20.0.0 — 2025-07-11
- 13.0.1 — 2022-03-29
- 13.0.0 — 2022-03-28
- 2.0.8 — 2020-11-16
- 2.0.7 — 2020-11-16
- 2.0.6 — 2020-11-16
- … 17 more at https://npm.io/package/@dannyboyng/dialog/versions

## README

# DialogLib

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.0.0.

## Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

```bash
ng generate component component-name
```

For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:

```bash
ng generate --help
```

## Building

To build the library, run:

```bash
ng build dialog-lib
```

This command will compile your project, and the build artifacts will be placed in the `dist/` directory.

### Publishing the Library

Once the project is built, you can publish your library by following these steps:

1. Navigate to the `dist` directory:
   ```bash
   cd dist/dialog-lib
   ```

2. Run the `npm publish` command to publish your library to the npm registry:
   ```bash
   npm publish
   ```

## Running unit tests

To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:

```bash
ng test
```

## Running end-to-end tests

For end-to-end (e2e) testing, run:

```bash
ng e2e
```

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

## Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.

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