Neonatal Penguin March

    flash-document-title

    1.0.0 • Public • Published

    flash-document-title

    Flash a notification message in the tab title area.

    If the tab is hidden, this module prepends the given argument before the current document title. Each second, it animates by prepending and removing a ! character. Once the tab is no longer hidden, the document title is reset.

    screenshot

    npm travis standard

    Install

    npm install flash-document-title
    

    Usage

    var flashDocumentTitle = require('flash-document-title')
     
    flashDocumentTitle('💬 someone said something!')

    License

    Apache-2.0

    Install

    npm i flash-document-title

    DownloadsWeekly Downloads

    641

    Version

    1.0.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • goto-bus-stop