An open API service indexing awesome lists of open source software.

https://github.com/afeiship/next-is-empty-fields

Detect is an empty form values.
https://github.com/afeiship/next-is-empty-fields

fields form is-empty next

Last synced: 3 months ago
JSON representation

Detect is an empty form values.

Awesome Lists containing this project

README

          

# next-is-empty-fields
> Detect is an empty form values.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
yarn add @jswork/next-is-empty-fields
```

## usage
```js
import '@jswork/next-is-empty-fields';

const values = {
name: '',
email: '',
phone: '',
};

nx.isEmptyFields(values); // true
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-is-empty-fields/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-is-empty-fields
[version-url]: https://npmjs.org/package/@jswork/next-is-empty-fields

[license-image]: https://img.shields.io/npm/l/@jswork/next-is-empty-fields
[license-url]: https://github.com/afeiship/next-is-empty-fields/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-is-empty-fields
[size-url]: https://github.com/afeiship/next-is-empty-fields/blob/master/dist/next-is-empty-fields.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-is-empty-fields
[download-url]: https://www.npmjs.com/package/@jswork/next-is-empty-fields