JSPM

get-numbers

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q22165F
  • License MIT

Get all the numbers from an array

Package Exports

  • get-numbers

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-numbers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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