# project-intro

> Simple UI modal to introduce a project

Latest version **2.3.3** (published 2022-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install project-intro
pnpm add project-intro
yarn add project-intro
bun add project-intro
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.3.3 |
| Published | 2022-08-30 |
| First published | 2019-06-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 389 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jose Maria Rivera Alonso |
| Maintainers | chema22r |
| Keywords | frontend, javascript, project, intro, modal |

## Links

- npm: https://www.npmjs.com/package/project-intro
- Repository: https://github.com/Chema22R/project-intro
- Homepage: https://github.com/Chema22R/project-intro#readme
- Issues: https://github.com/Chema22R/project-intro/issues
- npm.io page: https://npm.io/package/project-intro

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads

## Recent versions

- 2.3.3 (latest) — 2022-08-30
- 2.3.2 — 2022-08-30
- 2.3.1 — 2022-08-30
- 2.3.0 — 2022-08-30
- 2.2.8 — 2022-08-30
- 2.2.7 — 2021-06-19
- 2.2.6 — 2021-05-31
- 2.2.5 — 2021-05-16
- 2.2.4 — 2021-05-09
- 2.2.3 — 2021-04-04
- 2.2.2 — 2020-07-24
- 2.2.1 — 2020-07-24
- 2.2.0 — 2020-07-23
- 2.1.4 — 2020-06-07
- 2.1.3 — 2020-03-24
- … 7 more at https://npm.io/package/project-intro/versions

## README

[![CodeQL](https://github.com/Chema22R/project-intro/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Chema22R/project-intro/actions/workflows/codeql-analysis.yml)
[![MIT License](https://camo.githubusercontent.com/d59450139b6d354f15a2252a47b457bb2cc43828/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f7365727665726c6573732e737667)](LICENSE)

# Project Intro
Simple UI modal to introduce a project.

Check out a live demo [here](https://3d-previewer.chema22r.com/).

![Screenshot](https://i.postimg.cc/435D6GXP/Screen-Shot-2020-03-24-at-16-18-48.png)

## Installation
```
npm install project-intro
```

## Code To Run The Module
1. HTML code:
    ```html
    <div id="projectIntroContainer" class="projectIntroContainer">
        <div class="projectIntroBack" onclick="projectIntro.fadeOut()"></div>
        <div id="projectIntroContent" class="projectIntroContent">
            <img id="projectIntroImg" src="<IMAGE>">
            <div id="projectIntroText">
                <h2>Lorem ipsum dolor sit amet</h2>
                <p>
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit,
                    sed do eiusmod tempor incididunt ut labore et dolore
                    magna aliqua.<br>Ut enim ad minim veniam, quis nostrud
                    exercitation ullamco laboris nisi ut aliquip ex ea commodo
                    consequat.<br>Duis aute irure dolor in reprehenderit in
                    voluptate velit esse cillum dolore eu fugiat nulla
                    pariatur.<br>Excepteur sint occaecat cupidatat non
                    proident, sunt in culpa qui officia deserunt mollit anim
                    id est laborum.
                </p>
            </div>
            <span onclick="projectIntro.fadeOut()">&#10005;</span>
        </div>
    </div>
    ```
2. JS code:
    ```js
    import * as projectIntro from "project-intro";
    window.projectIntro = projectIntro;
    projectIntro.init();
    ```

* The provided image will be resized to fit the assigned space, but the perfect size would be 300x350p
* To implement the module in a non-NPM environment, each project file must be imported individually, as in the example provided in `/development/index.js`. The following code can be used instead of the one specified in step 2, replacing the routes with the correct ones:
    ```js
    import "./projectIntro.css";
    import * as projectIntro from "./projectIntro";

    window.projectIntro = projectIntro;
    projectIntro.init();
    ```

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