open-index/open-npm huggingface dataset:
npm package: @nepada/autocomplete-input
Description: Client side of Autocomplete text input for Nette forms.
Author: Petr Morávek
Latest version: 1.1.2

Client side of Autocomplete text input for Nette forms
======================================================

[![Build Status](https://github.com/nepada/autocomplete-input.js/workflows/CI/badge.svg)](https://github.com/nepada/autocomplete-input.js/actions?query=workflow%3ACI+branch%3Amaster)
[![Latest stable](https://img.shields.io/npm/v/@nepada/autocomplete-input.svg)](https://www.npmjs.com/package/@nepada/autocomplete-input)


Installation
------------

Via npm:

```sh
$ npm install @nepada/autocomplete-input --save
```

Via yarn:

```sh
$ yarn add @nepada/autocomplete-input
```


Usage
-----

This package provides [corejs-typeahead](https://yarnpkg.com/package/corejs-typeahead) based client side for [nepada/autocomplete-input](https://packagist.org/packages/nepada/autocomplete-input).

#### Using precompiled JS bundle

Using precompiled bundles is the quick'n'dirty way of getting client side validation to work.

```html
<script src="https://unpkg.com/jquery@%5E3.5.0/dist/jquery.min.js"></script>
<script src="https://unpkg.com/corejs-typeahead@%5E1.3.1/dist/typeahead.bundle.min.js"></script>
<script src="https://unpkg.com/nette-forms@%5E3.0.3/src/assets/netteForms.min.js"></script>
<script src="https://unpkg.com/nette-forms@%5E1.0.0/dist/js/autocomplete-input.min.js"></script>
```

#### Building your own JS bundle

It is highly recommended to install the client side package via nmp/yarn and compile your own bundle.

Here is an example script for initialization of phone number input and Nette forms.  

```js
import Nette from 'nette-forms';
import initializeAutocompleteInput from '@nepada/autocomplete-input';

initializeAutocompleteInput(Nette);
Nette.initOnLoad();
```

#### Bootstrap 5 support

- Include [_bootstrap5.scss](src/scss/_bootstrap5.scss) partial into your SCSS styles.
- Use customized typeahead factory during JS initialization:
```js
import Nette from 'nette-forms';
import {default as initializeAutocomplete, bootstrap5TypeaheadFactory} from '@nepada/autocomplete-input';

initializeAutocomplete(Nette, bootstrap5TypeaheadFactory);
Nette.initOnLoad();
```

#### Bootstrap 4 support

- Include [_bootstrap4.scss](src/scss/_bootstrap4.scss) partial into your SCSS styles.
npm package: @nepada/eslint-config
Description: Nepada ESLint shared config.
Author: Petr Morávek
Latest version: 2.0.0

Nepada ESLint config
====================

[![Build Status](https://github.com/nepada/eslint-config/workflows/CI/badge.svg)](https://github.com/nepada/eslint-config/actions?query=workflow%3ACI+branch%3Amaster)
[![Downloads this Month](https://img.shields.io/npm/dm/@nepada/eslint-config.svg)](https://yarnpkg.com/package/@nepada/eslint-config)
[![Latest stable](https://img.shields.io/npm/v/@nepada/eslint-config.svg)](https://yarnpkg.com/package/@nepada/eslint-config)


Installation
------------

Via npm:

```sh
$ npm install --save-dev @nepada/eslint-config
```


Usage
-----

Use it in your eslint config:

```
{
    "extends": "@nepada"
}
```