npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

always-array

1.0.1 • Public • Published

Always Array

Build Status bundle size install size npm version

Ensures you are always dealing with an array. It uses Array.isArray.

Installation

yarn add always-array
# or with npm 
npm i always-array

Usage

Very simple.

import alwaysArray from 'always-array';
 
alwaysArray('foo'); // ['foo']
alwaysArray(['foo']); // ['foo']

Keywords

none

install

npm i always-array

Downloadsweekly downloads

41

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability