# html-inputtypes

> A tiny packacge to specify HTML input types in a cleaner way

Latest version **1.0.1** (published 2019-05-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install html-inputtypes
pnpm add html-inputtypes
yarn add html-inputtypes
bun add html-inputtypes
```

## 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 | 1.0.1 |
| Published | 2019-05-29 |
| First published | 2019-05-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Agboola Yusuf |
| Maintainers | olaar09 |
| Keywords | ReactJS, NodeJs, Jquery, Javascript, HTML input types |

## Links

- npm: https://www.npmjs.com/package/html-inputtypes
- Repository: https://github.com/olaar09/HTMLInpuTtypes
- Homepage: https://github.com/olaar09/HTMLInpuTtypes#readme
- Issues: https://github.com/olaar09/HTMLInpuTtypes/issues
- npm.io page: https://npm.io/package/html-inputtypes

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-05-29
- 1.0.0 — 2019-05-29

## README

# HTMLInpuTtypes

A tiny packacge to specify HTML input types in a cleaner way.

# Usage

# Install package
npm install -save html-inputtypes

# import package
import INPUT_TYPES from 'html-inputtypes';

# use package (React example)

```html
<input type={INPUT_TYPES.TEXT}></input>
```

# Available types

    TEXT = "text",\
    PASSWORD = "password",\
    NUMBER = "number",\
    CHECKBOX = "checkbox",\
    COLOR = "color",\
    DATE = "date",\
    DATE_TIME_LOCAL = "datetime-local",\
    EMAIL = "email",\
    FILE = "file",\
    HIDDEN = "hidden",\
    IMAGE = "image",\
    MONTH = "month",\
    RADIO = "radio",\
    RANGE = "range",\
    RESET = "reset",\
    SEARCH = "search",\
    SUBMIT = "submit",\
    TEL = "tel",\
    TIME = "text",\
    URL = "url",\
    WEEK = "week"

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