https://github.com/afeiship/next-empty
Empty array or object.
https://github.com/afeiship/next-empty
array empty list next object
Last synced: 12 months ago
JSON representation
Empty array or object.
- Host: GitHub
- URL: https://github.com/afeiship/next-empty
- Owner: afeiship
- License: mit
- Created: 2017-02-07T01:50:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-25T13:24:13.000Z (almost 3 years ago)
- Last Synced: 2025-02-07T12:31:23.087Z (about 1 year ago)
- Topics: array, empty, list, next, object
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-empty
> Empty array or object.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-empty
```
## usage
```js
import '@jswork/next-empty';
nx.empty({ name:'afei' }); // {}
nx.empty([1,2,3]); // []
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-empty/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-empty
[version-url]: https://npmjs.org/package/@jswork/next-empty
[license-image]: https://img.shields.io/npm/l/@jswork/next-empty
[license-url]: https://github.com/afeiship/next-empty/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-empty
[size-url]: https://github.com/afeiship/next-empty/blob/master/dist/next-empty.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-empty
[download-url]: https://www.npmjs.com/package/@jswork/next-empty