1.0.0 • Published 9 years ago

array-ify v1.0.0

Weekly downloads
2,310,271
License
MIT
Repository
github
Last release
9 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_samplegh-monoproject-cligit-branching-workflowgogencygogency-test-2griffin-ui-librarykhaled-salem-custom-componentsl2forlernalazy-bee-uiluojia-cli-devgulp-wireshong1-utilsjordy-frijters-test-libjamuskalimjrennsoh88-react-native-scroll-indicatormiguelcostero-ng2-toastymiracle-webpack-tree-shakingnative-apple-loginnew-awesome-4321native-google-loginnative-date-picker-modulenative-modal-damage-vehiclenative-kakao-login@react-native-ui-design/button@seamlessc/tabler-icons-react@phong95/react-native-multiple-image-picker@positionex/position-sdk@praella/localisationist@parallelnft/web3modal@thinxviewx/core-rn@taingo97/react-native-awesome-module@taingo97/react-native-bluetooth-xprinter@taingo97/react-native-expo-key-rsa-kt@taingo97/react-native-expo-rsa@taingo97/react-native-generate-key-rsa@taingo97/react-native-key-rsa@taingo97/react-native-print-xprinter@taingo97/react-native-rsa@taingo97/react-native-rsa-expo@taingo97/react-native-sunmi-printer@taingo97/react-native-telpo-printer@saad27/react-native-bottom-tab-tour@safely-project/safely-ts@sidghimire/react-native-mapbox-navigation@soyjak/utils@sephriot/react-native-persistable-uri@status-im/react-native-transparent-videowifi_configuration_packageweb-yii2winx-form-winxzzzxxxyyy321123zeo-collectvue-infinite-loading-propsvue-v3-yandex-metrikavue-dev-cloneyangtao-jsjawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwytest_lib_module_aarquickcapture_react_nativesushi-sdk-ftmproject-wajs-dvpnm-yph-react-native-custom-componentspayutestingplaykit-js-hls-sondqpyreswap-sdktest-haptik-libtest-library-123test-zeo-collect
1.0.0

9 years ago

0.0.0

9 years ago