npmzombie2

zombie's new npm test module

Usage no npm install needed!

<script type="module">
  import npmzombie2 from 'https://cdn.skypack.dev/npmzombie2';
</script>

README

NPM Zombie package 0.0.1

This is a test npm package by zommbie. nothing new here

Install

$ npm install npmzombie

Usage

const arrify = require('arrify');

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

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

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

arrify(null);
//=> []

arrify(undefined);
//=> []

Supplying null or undefined results in an empty array.

License

MIT © zombie (https://npmjs.com)