dotbeat
v1.0.2
Published
Simple Swatch Internet Time grabber and formatter.
Downloads
4
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.