JSPM

is-tomorrow-date

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

    check the input value is a valid date and is tomorrow date

    Package Exports

    • is-tomorrow-date
    • is-tomorrow-date/index.js

    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 (is-tomorrow-date) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    clear-object

    is-tomorrow check the input value is tomorrow date

    Install

    $ npm install is-tomorrow

    Usage

    const isTomorrow = require('is-tomorrow')
    
    isTomorrow()
    // => false
    
    isTomorrow(new Date())
    
    // => false
    
    isTomorrow(new Date().getTime() + (24 * 60 * 60 * 1000))
    
    // => true