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.
- Host: GitHub
- URL: https://github.com/afeiship/next-is-empty-fields
- Owner: afeiship
- License: mit
- Created: 2016-10-19T05:29:58.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T03:25:46.000Z (over 1 year ago)
- Last Synced: 2025-06-12T08:06:51.278Z (7 months ago)
- Topics: fields, form, is-empty, next
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.txt
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