Nanometers Per Millisecond

    ye-ars

    1.0.1 • Public • Published

    ye-ars

    List a range of years from the current year or selected year.

    Install

    npm install --save ye-ars

    Usage

    const years = require('ye-ars')
     
    const options = {
      count: 3
    }
     
    const result = years(options) // -> [2018, 2019, 2020]

    API

    years(options: Object) -> Array

    • options (Object)
      • initialYear (Number) initial year to start counting
      • count (Number) number of years to list

    License

    MIT © Guillermo Lopez

    Install

    npm i ye-ars

    DownloadsWeekly Downloads

    6

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • glopezep