JSPM

dotbeat

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q21839F
    • License ISC

    Simple Swatch Internet Time grabber and formatter.

    Package Exports

    • dotbeat

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

    Readme

    dotbeat

    Simple Swatch Internet Time grabber and formatter.

    Installation

    npm install dotbeat

    Usage

    var dotbeat = require("dotbeat")
    
    console.log(dotbeat.get()) //                  511
    console.log(dotbeat.get("number")) //          511
    console.log(dotbeat.get("string")) //          @511
    
    
    console.log(dotbeat.get("number", false)) //   511
    console.log(dotbeat.get("string", false)) //   @511
    
    console.log(dotbeat.get("number", true)) //    511.12
    console.log(dotbeat.get("string", true)) //    @511.12

    Any feature requests or issues are gladly welcomed on the Issues page of the GitHub repository.