1.0.0 • Published 11 years ago

array-ify v1.0.0

Weekly downloads
2,310,271
License
MIT
Repository
github
Last release
11 years ago

NPM version Build Status Dependency Status Coverage Status

Turn anything into an array

Install

$ npm install --save array-ify

Usage

var arrayify = require('array-ify');

arrayify('unicorn');
//=> ['unicorn']

arrayify(['unicorn']);
//=> ['unicorn']

arrayify(null);
//=> [null]

arrayify(undefined);
//=> [undefined]

Related

  • arrify - Convert a value to an array

The difference that is this module does NOT turn null or undefined to an empty array.

License

MIT © Steve Mao

compare-funcarchetype-libraryeasy-select-rnreact-native-bluetooth2killi8n-react-native-fast-imageairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@ntt_app/react-native-custom-notificationreact-native-covid-sdk@jttechnic/interpreterreact-native-printer-brothersreact-native-shekhar-bridge-testcogoportutils@oiti/documentoscopy-react-native@mink-opn/build-tokensquoc-testluminos-ui-core@everything-registry/sub-chunk-1164jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkg@rabailriaz/hisaab-web-portalreact-native-jawwy_samplegriffin-ui-librarytailwind-vector-effecttest-library-123test-haptik-libwinx-form-winxvue-infinite-loading-propswifi_configuration_packagesportscale-wifi-connecttest-zeo-collectvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedvcloudcam-playkit-js-hlsvantiq-reactvue-dev-clonejrennsoh88-react-native-scroll-indicatorjesh-calculationjnf-accesscontrol-rnttljordy-frijters-test-libjamuskalimkhaled-salem-custom-componentslazy-bee-uiiiif-manifest-editorhong1-utilsheroicdefensegulp-wiresluojia-cli-devl2forlerna@wecraftapps/react-native-use-keyboard@tlgeo/react-native-gdal@thinxviewx/core-rn@yplabs-ltd/react-native-detector@zalastax/nolb-array-@zotasys/nativeagent-get-agentadyen-rnawesome-module-kdastra-ufo-sdkarifbudixzarchlibrarygenz-native-elementsfront-end-engineeringframework_test_library_sixdeeframework_test_library_sixdee_newframework_test_library_sixdee_new_newfront-and-backgaurav-react-native-loopgamification-integration-newdomaincomponentdotex-plugindogandev-simple-toasteasyplayer-myevanutilsfawaterak-online-paymentfawatrak-online-paymentfixed_form_builderfluent.adflow.reactnativesdkfluent.adflow.reactnativesdk-alphafmslfirebase-sign-in-with-ethereumcandlelabssdkconnex_ram00nezconnex-kakilangcheckbox-componentcapacitor-sim-procowlogcustom-widgets-librarydate-to-block-ethdemo-test-scrnbiometric-st
1.0.0

11 years ago

0.0.0

11 years ago