# inpux

> Simple custom input formatter

Latest version **1.3.0** (published 2023-09-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install inpux
pnpm add inpux
yarn add inpux
bun add inpux
```

## 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.3.0 |
| Published | 2023-09-23 |
| First published | 2023-09-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Guilherme Ferreira de Souza |
| Maintainers | guiferrsouza |
| Keywords | inpux |

## Links

- npm: https://www.npmjs.com/package/inpux
- npm.io page: https://npm.io/package/inpux

## Recent versions

- 1.3.0 (latest) — 2023-09-23
- 1.2.9 — 2023-09-23
- 1.2.8 — 2023-09-23
- 1.2.7 — 2023-09-23
- 1.2.6 — 2023-09-23
- 1.2.3 — 2023-09-23
- 1.2.2 — 2023-09-21

## README

# Inpux
Simple custom `<input type="text"/>` formatter for `<html></html>`

## Features
- `Custom`, `numeral`, `date` and `time` formatting types
- Custom options for each formatting type
- CommonJS / ES module systems

## Installation
### npm
```bash
npm install inpux
```
Inpux is available in [jsDelivr](https://www.jsdelivr.com/package/npm/inpux) and [GitHub](https://github.com/GuiferrSouza/inpux)

### Usage
Using [script tag](https://www.w3schools.com/tags/tag_script.asp), include one of these in your `HTML`
```html
<script src="https://cdn.jsdelivr.net/npm/inpux@1.3.0/inpux.min.js"></script>
<script src="https://guiferrsouza.github.io/inpux/inpux.min.js"></script>
```

Using [modules](https://dev.to/costamatheus97/es-modules-and-commonjs-an-overview-1i4b), include one of these in your `Javascript`
```js
import Inpux from './node_modules/inpux/modules/inpux.js';
const Inpux = require("inpux");
```

Create your input element in your `HTML`
```html
<input class="input-to-format"/>
```

Set your `Inpux` element with your DOM element and your options as parameters in your `Javascript`
```js
const myInpux = new Inpux('.input-to-format', {...});
```
[Documentation](https://github.com/GuiferrSouza/inpux/blob/main/docs/documentation.md) • [Demo](https://guiferrsouza.github.io/inpux/)

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