Wondering what’s next for npm?Check out our public roadmap! »

    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

    Last publish

    Collaborators

    • avatar