npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

get-numbers

1.0.0 • Public • Published

get-numbers

Get all the numbers from an array

Build Status

js-semistandard-style

Install

$ npm install --save get-numbers

Usage

var getNumbers = require('get-numbers');
 
getNumbers([1, 2, 'food', 5, 'bear']);
//=> [1, 2, 5]
 
getNumbers(['food', 'bear', 'eat']);
//=> []

API

getNumbers(input)

input

Required
Type: Array

License

MIT © Siddharth Kannan

install

npm i get-numbers

Downloadsweekly downloads

1

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability