PHP 7.4.33
Preview: readme.md Size: 543 B
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/arrify/readme.md
# arrify [![Build Status](https://travis-ci.org/sindresorhus/arrify.svg?branch=master)](https://travis-ci.org/sindresorhus/arrify)

> Convert a value to an array


## Install

```
$ npm install arrify
```


## Usage

```js
const arrify = require('arrify');

arrify('🦄');
//=> ['🦄']

arrify(['🦄']);
//=> ['🦄']

arrify(new Set(['🦄']));
//=> ['🦄']

arrify(null);
//=> []

arrify(undefined);
//=> []
```

*Supplying `null` or `undefined` results in an empty array.*


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)

Directory Contents

Dirs: 0 × Files: 5
Name Size Perms Modified Actions
645 B lrw-r--r-- 2026-05-06 08:23:46
Edit Download
333 B lrw-r--r-- 2026-05-06 08:23:46
Edit Download
1.08 KB lrw-r--r-- 2026-05-06 08:23:46
Edit Download
555 B lrw-r--r-- 2026-05-06 08:23:46
Edit Download
543 B lrw-r--r-- 2026-05-06 08:23:46
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).