1.3.0 • Published 8 months ago

inpux v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

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

npm install inpux

Inpux is available in jsDelivr and GitHub

Usage

Using script tag, include one of these in your 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, include one of these in your Javascript

import Inpux from './node_modules/inpux/modules/inpux.js';
const Inpux = require("inpux");

Create your input element in your HTML

<input class="input-to-format"/>

Set your Inpux element with your DOM element and your options as parameters in your Javascript

const myInpux = new Inpux('.input-to-format', {...});

DocumentationDemo

1.3.0

8 months ago

1.2.9

8 months ago

1.2.8

8 months ago

1.2.7

8 months ago

1.2.6

8 months ago

1.2.5

8 months ago

1.2.4

8 months ago

1.2.3

8 months ago

1.2.2

8 months ago

1.2.1

8 months ago

1.2.0

8 months ago

1.1.9

8 months ago

1.1.8

8 months ago

1.1.7

8 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.2

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago