# jawshooah-number-input

> A number input field for DoneJS using Bootstrap

Latest version **0.1.0** (published 2016-04-07) · 0 weekly downloads

## Install

```sh
npm install jawshooah-number-input
pnpm add jawshooah-number-input
yarn add jawshooah-number-input
bun add jawshooah-number-input
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-04-07 |
| First published | 2016-04-07 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+6 in 2 direct dependencies) |
| Install scripts | no |
| Author | Bitovi |
| Maintainers | jawshooah |
| Keywords | canjs, donejs |

## Links

- npm: https://www.npmjs.com/package/jawshooah-number-input
- Homepage: http://donejs.com
- npm.io page: https://npm.io/package/jawshooah-number-input

## Dependencies (3)

- [can](https://npm.io/package/can.md) ^2.3.16
- [jquery](https://npm.io/package/jquery.md) ~2.2.1
- [bootstrap](https://npm.io/package/bootstrap.md) ^3.3.6

## Recent versions

- 0.1.0 (latest) — 2016-04-07

## README

# jawshooah-number-input

[![Build Status](https://travis-ci.org/jawshooah/jawshooah-number-input.png?branch=master)](https://travis-ci.org/jawshooah/jawshooah-number-input)

A number input field for DoneJS using Bootstrap

## Usage

### ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

```js
import plugin from 'jawshooah-number-input';
```

### CommonJS use

Use `require` to load `jawshooah-number-input` and everything else
needed to create a template that uses `jawshooah-number-input`:

```js
var plugin = require("jawshooah-number-input");
```

## AMD use

Configure the `can` and `jquery` paths and the `jawshooah-number-input` package:

```html
<script src="require.js"></script>
<script>
	require.config({
	    paths: {
	        "jquery": "node_modules/jquery/dist/jquery",
	        "can": "node_modules/canjs/dist/amd/can"
	    },
	    packages: [{
		    	name: 'jawshooah-number-input',
		    	location: 'node_modules/jawshooah-number-input/dist/amd',
		    	main: 'lib/jawshooah-number-input'
	    }]
	});
	require(["main-amd"], function(){});
</script>
```

### Standalone use

Load the `global` version of the plugin:

```html
<script src='./node_modules/jawshooah-number-input/dist/global/jawshooah-number-input.js'></script>
```

## Contributing

### Making a Build

To make a build of the distributables into `dist/` in the cloned repository run

```
npm install
node build
```

### Running the tests

Tests can run in the browser by opening a webserver and visiting the `test.html` page.
Automated tests that run the tests from the command line in Firefox can be run with

```
npm test
```

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