{"_id":"flipdown","_rev":"5-2c1a16c7517a359d4ecfd2bdead0a7cc","name":"flipdown","dist-tags":{"latest":"0.3.2"},"versions":{"0.2.0":{"name":"flipdown","version":"0.2.0","description":"A lightweight and performant flip styled countdown clock","main":"src/flipdown.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf dist && mkdir -p dist && rm -rf example/css/flipdown && mkdir -p example/css/flipdown && rm -rf example/js/flipdown && mkdir -p example/js/flipdown","dist":"npx babel src/flipdown.js -o dist/flipdown.js --no-comments && npx babel src/flipdown.js --presets=minify --no-comments -o dist/flipdown.min.js && cp src/flipdown.css dist/flipdown.css && uglifycss src/flipdown.css > dist/flipdown.min.css","example":"npx babel src/flipdown.js -o example/js/flipdown/flipdown.js --no-comments && cp dist/flipdown.css example/css/flipdown/flipdown.css","build":"npm run clean && npm run dist && npm run example"},"repository":{"type":"git","url":"git+ssh://git@github.com/PButcher/flipdown.git"},"author":{"name":"Peter Butcher","email":"pbutcher93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/PButcher/flipdown/issues"},"homepage":"https://github.com/PButcher/flipdown#readme","dependencies":{},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.5","babel-preset-minify":"^0.5.0","uglifycss":"0.0.29"},"gitHead":"cd6f90d04c2bed53b44767b01580bd317e166249","_id":"flipdown@0.2.0","_npmVersion":"6.4.0","_nodeVersion":"10.5.0","_npmUser":{"name":"pbutcher","email":"pbutcher93@gmail.com"},"dist":{"integrity":"sha512-fmJ7Ohte0jXaHe8U+mXdpcbea45ajg+3Szxanler7YzG7iShhTM5jEjLv2NTeSMHMymfvvCHz5UAEFv4SLK32w==","shasum":"147305812018a1660a3b9eb446252026ef987ad3","tarball":"https://registry.npmjs.org/flipdown/-/flipdown-0.2.0.tgz","fileCount":15,"unpackedSize":64546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6Q74CRA9TVsSAnZWagAAbEIQAJ4ZTCTjaIG5kITBvu+V\nSLyQWC755MYSW6fVPfHfFUG38iXVqsEY5roR8KaIPZoGs0WM3MLWTDq3Zo8d\nddYjr9DSJYRlRF6mBvtxzQDVGAkApo1ynBuoS0N8pUJlULDaCBouC7YsjYR/\nsd+r1fAIA4eztFSAaF0/LnDn3F+0KO28hp4ChxPSPckg4EJlBsChUAdqIars\naG7eKuRMjNKH91W1zY6+2jDFWirdYOAmauuVMHSggSUhvsjuKBpCYZFC5OUV\n26FApQoCg4Xnq0M6v7Ky8eXBL6jnzCZtzpJJ+FQVWkQ7AMNcnX1S/qM5sbX4\n9nS/+kJH9DzOiUjhlMo2Vc+CRFIgtKX9F7UXYIq+hQoRX7H8b285Xtcd1bgF\nZAEFCYarpXEKT4c3B6WZ1nv+pp5pCCA/GubRwyxbamZCaI5yxao6r0eIz03P\nZzvTp5XsXrNBVgBcuJtDDGIwF6RbLZ0KjvSoVDA0T9jwXPJE33tj8wBBZD7K\nb3C6sgQYSpetE9GqWokKzG2RRZ/T2uexNtm9caYqqBLiBTNPaGuQdl0Alzjw\nzUk5AowP6ELLrai8NCI9rANUgyw3cKd4AKgCCnnnSRWSwf67cwJhzAjr2OgH\nuQvlt8+M6fDcKOc9xgr9gF03h4N3+290KQPZRaulajyIjwn7jOMclC56DMd/\n2tlX\r\n=RQR8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGnZbFvVeWEqbenml1HTncy8vL0kpDx0SRXjDc2jlrYzAiEArvvi/tu4iFn9gJPeJseYeglN5bd9Gs/NuUZMf87JIlA="}]},"maintainers":[{"name":"pbutcher","email":"pbutcher93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flipdown_0.2.0_1542000375545_0.16271917854286921"},"_hasShrinkwrap":false},"0.2.1":{"name":"flipdown","version":"0.2.1","description":"A lightweight and performant flip styled countdown clock","main":"src/flipdown.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf dist && mkdir -p dist && rm -rf example/css/flipdown && mkdir -p example/css/flipdown && rm -rf example/js/flipdown && mkdir -p example/js/flipdown","dist":"npx babel src/flipdown.js -o dist/flipdown.js --no-comments && npx babel src/flipdown.js --presets=minify --no-comments -o dist/flipdown.min.js && cp src/flipdown.css dist/flipdown.css && uglifycss src/flipdown.css > dist/flipdown.min.css","example":"npx babel src/flipdown.js -o example/js/flipdown/flipdown.js --no-comments && cp dist/flipdown.css example/css/flipdown/flipdown.css","build":"npm run clean && npm run dist && npm run example"},"repository":{"type":"git","url":"git+ssh://git@github.com/PButcher/flipdown.git"},"author":{"name":"Peter Butcher","email":"pbutcher93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/PButcher/flipdown/issues"},"homepage":"https://github.com/PButcher/flipdown#readme","dependencies":{},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.5","babel-preset-minify":"^0.5.0","uglifycss":"0.0.29"},"gitHead":"4a92940c5fdaa2f37b5309cc97d59322bed86d7e","_id":"flipdown@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"pbutcher","email":"pbutcher93@gmail.com"},"dist":{"integrity":"sha512-Zvph5aif2NCBsLjKt6RV6F4ZT7IE2JeIn8Cd/Q6kFX8OQeohh27xk3MMJqDZLxI/5frhMSilMYjOy5OZ5MY0TA==","shasum":"8ad45646c6e1131bc3076ce6b4a1d5ba0f4e05de","tarball":"https://registry.npmjs.org/flipdown/-/flipdown-0.2.1.tgz","fileCount":15,"unpackedSize":65851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNK+KCRA9TVsSAnZWagAA/E4P/3p5UUOeGONyySy3gM9F\nRRs6QLJfrPI7f+Bk+ND7NAjSJ1n5NpeuorkrIywO4Kg0Dz5Myhg5EWHhOtAw\nSNczvC48LK3k/Hp9EAZURyiRm0MQ8bmTXJsKIdSpqCKcGgUovGFUnbvrJgSf\nl1BSN5mwh2Z8tx3BVoW5N6z0OgHb8apHDimxNYprd6dM4h13ujszB7noXVjL\n+3H6kjwYXARiiPjbqVTYOwxj64O3o0iSRC4d1/I4uJrm1tHXIZ1CkvRkaveY\nH4M+ctmx/O48FIpX4NkPjLN2dgLHbB+a/Xc5uqvGjXJF87Fe25MUhMvbPWba\nwb0PDz8VBNcP2jUSlfzEKI3SCwFbyd+nEDzVYowFfZpuumQknXW44lCNVDCV\n3tmGoV12ct22/0XIZlz7TCZcqCKpU4guzVTRZlZTPTC6d6njyAS2PKyvo7yt\naK3w8fXgPO+JT3EOiFhmzOwVG5xff2pMzy0Oc9L1g5OBnQ8r0FXhpmNfeDte\nOIp+ZSPfjRzsi9P1tXjy873IuyqelgksuI5MjfHQr5lGZmTlHqxQ7UAXk/8C\nEXDoiD2DU+6P446OpvtHXGw3GY/BwhLTTLZklXBTJdAzkrAP2Fwy2/lnSDiG\nTDLSlGe/4XlgFZmbmQ/sTR5yxDQo625yDyMgWY3L/Cvb7DWeEhgdWg1jM8d6\nT1MN\r\n=qX2d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8VQApWILzHujmdjvxcPGpM6hwE3SIBGU2dNHUbPnQfAiBJ0CC0VY2Fajoqc6Z1dgnwPRnvtQhkyNQ8X7IslJZoRg=="}]},"maintainers":[{"name":"pbutcher","email":"pbutcher93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flipdown_0.2.1_1546956681804_0.21132307276528972"},"_hasShrinkwrap":false},"0.2.2":{"name":"flipdown","version":"0.2.2","description":"A lightweight and performant flip styled countdown clock","main":"src/flipdown.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf dist && mkdir -p dist && rm -rf example/css/flipdown && mkdir -p example/css/flipdown && rm -rf example/js/flipdown && mkdir -p example/js/flipdown","dist":"npx babel src/flipdown.js -o dist/flipdown.js --no-comments && npx babel src/flipdown.js --presets=minify --no-comments -o dist/flipdown.min.js && cp src/flipdown.css dist/flipdown.css && uglifycss src/flipdown.css > dist/flipdown.min.css","example":"npx babel src/flipdown.js -o example/js/flipdown/flipdown.js --no-comments && cp dist/flipdown.css example/css/flipdown/flipdown.css","build":"npm run clean && npm run dist && npm run example"},"repository":{"type":"git","url":"git+ssh://git@github.com/PButcher/flipdown.git"},"author":{"name":"Peter Butcher","email":"pbutcher93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/PButcher/flipdown/issues"},"homepage":"https://github.com/PButcher/flipdown#readme","dependencies":{},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.5","babel-preset-minify":"^0.5.0","uglifycss":"0.0.29"},"gitHead":"0196947076ad2c42865f2c15336950e3b9ded3f6","_id":"flipdown@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"pbutcher","email":"pbutcher93@gmail.com"},"dist":{"integrity":"sha512-qNtFNn7PI2M8BejS4ZQYbE81o91DzGqdYCrDdqMfwyVKBHcwOQv55IjN3zjc3x4JjdW6JUCTSWEiUCEUHZ8IdA==","shasum":"e74996fc59402078b5cfa22b4d44f90620733da3","tarball":"https://registry.npmjs.org/flipdown/-/flipdown-0.2.2.tgz","fileCount":15,"unpackedSize":66107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUdS5CRA9TVsSAnZWagAAAoMP/2JrMHYNN5SYsdw9IqYl\n045XqDKcVG9hZVg++FPvudkR26tQlL3OLB/kE7mDPGw8oFiDO6GHV19J/Stc\n5j1I8to9POxENh4XcsxurYdCSzVqIlkdhpCGFFpgwhxzIG6rLzGnbiqtNUtL\nBPgoMCE8anl/y7Ri/XZLl0l4VgT2BfohD+zj76YIDlz4RmRuDY0txKQKUVGK\ni8TdiWfSfRY7Wyx0LXercWYHhrKtiAdMTQmi35XoUnaL49U/XotWal0a/eUd\n9ld3LzWkAGzxa/zi8qGGDt3YzTJ1fe1kPqBbV8v+ZP70av71cUPrnG7WT7j4\noCc7roNewUDRYJutSit4//+nj4WIHja2cTJihSQ6DZEVzo4KNE2W9lz6PyaR\nW9iiuJ5qReC+1YjosUphi2FSGfsT/WGcyjdFk64xqRf2vfhxqeA3vHQrS79R\n5eEWzXZIolG0mVN/i+AMY4ZNFy582lgZqAI5et02+wscA3RF9UgjSLRzIu4d\n/Xoe0GdrdMPrdVI+haep3oC9Sb+MXf7Dzb1pn56r/zkLfs7zo28xZMEpMrzm\nKE7iM9iYpBU1HLjUZ4r8KCTKc3Uk8abRs9Fw+knWqdzYnuGFewIdvi+GgYRF\nGQwNXqjp+fgW0OKAGpKRmYAQl+DBS6xF35zaYZuNmf9dBAEq+V8qSpLieITF\n/hVW\r\n=Us7D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIYbOGDfwuoy0J83hCRE1z9r6cIVNmYfRpR+Ladwk4tgIgGo+lq0qJIO2krfXFJjnilszhJfqVrFDT7d2esJiM7Lw="}]},"maintainers":[{"name":"pbutcher","email":"pbutcher93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flipdown_0.2.2_1548866745137_0.5392428685925017"},"_hasShrinkwrap":false},"0.3.1":{"name":"flipdown","version":"0.3.1","description":"A lightweight and performant flip styled countdown clock","main":"src/flipdown.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf dist && mkdir -p dist && rm -rf example/css/flipdown && mkdir -p example/css/flipdown && rm -rf example/js/flipdown && mkdir -p example/js/flipdown","dist":"npx babel src/flipdown.js -o dist/flipdown.js --no-comments && npx babel src/flipdown.js --presets=minify --no-comments -o dist/flipdown.min.js && cp src/flipdown.css dist/flipdown.css && uglifycss src/flipdown.css > dist/flipdown.min.css","example":"npx babel src/flipdown.js -o example/js/flipdown/flipdown.js --no-comments && cp dist/flipdown.css example/css/flipdown/flipdown.css","build":"npm run clean && npm run dist && npm run example"},"repository":{"type":"git","url":"git+ssh://git@github.com/PButcher/flipdown.git"},"author":{"name":"Peter Butcher","email":"pbutcher93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/PButcher/flipdown/issues"},"homepage":"https://github.com/PButcher/flipdown#readme","dependencies":{},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.5","babel-preset-minify":"^0.5.0","uglifycss":"0.0.29"},"gitHead":"56b9d0997a8605a37822ec334e7eaa8a39069309","_id":"flipdown@0.3.1","_npmVersion":"5.1.0","_nodeVersion":"10.16.3","_npmUser":{"name":"pbutcher","email":"pbutcher93@gmail.com"},"dist":{"integrity":"sha512-04cEAxSdkNJbp/hSBZ+dQ2ZzPz96dz3KOmWzJpItIA6negnfgtl5lmHCaOYDstuvXcy4zZT181vCKkMQxwhnUA==","shasum":"42e52e7ce804a064cbce5b9d01226c2fe4d377f2","tarball":"https://registry.npmjs.org/flipdown/-/flipdown-0.3.1.tgz","fileCount":16,"unpackedSize":68576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepzx+CRA9TVsSAnZWagAA0loQAJGJaBPOSigiIzI1CMHJ\nAs71vCD9ix4Apfc8gIuNR8HUqAnSmVdcM6ixm6Y6mFqQranTuUsFegdAWtcB\ncKLBX35r4I66nqAQ76m4+tKua9YpsN1m6Q+TlsZcMewVdf7AHe8GO4IAZ96v\nVYWofmUd/QVzGMGVGosuvd0jAWko5QXGp+t0tzWEte0U2ARVC3BjJQPI54lZ\nDfdjV6nXQiXQZOAB41kyPNKjK6C/71PZDtQYPO/f/OztFrUljTpqzAUDYYME\n8/ARl77B1Bi9CmiTGKaOsQhaZiKFHCOhKo2ptNcKZjbx+r1XwVK+YTmdoAJZ\nLrM0s8R7WCDZ0NAEpkxqgypja2xr8H4IBdOU3Kzz1mCPEUdEdApI0mhFfdgB\neQrkB9qQd6YFXDMhUl7PIWgcu6BICeW6pLOBr4D7yeSnYeDPB0SawS26/tkB\nLv5cSc14aOpA1hgDZMgckRYf/CfqH9OjdC+D1JWNoiNLC8IMttoNZkOZtEtf\nwjoQMJEzMjg+AJ+UQBDX11HvbILfamhKGcKv/nOMnQPXSgNOHO7KzlIRCj/S\ncdSXRp133x5yxR8VIKMYRa9ZDBRqiD23Q0u/8J/xAowUGI4gaf/TVHg+NoOu\n3HUhmvPdlVKvGH23HbhOD3l3Zd85DA8FV6Wrhy7LwUwpH8EyazVBNXujx78e\nDzC8\r\n=I6PJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4Xhvrc0pptcgx6TZyoWf/bcnIPo/tJSWxgL1e/waGggIhANoYG86aIINKFpEH54MdpxWlb+tqYsQDWEJJcMFMpR9d"}]},"maintainers":[{"name":"pbutcher","email":"pbutcher93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flipdown_0.3.1_1588018302609_0.08477290349194266"},"_hasShrinkwrap":false},"0.3.2":{"name":"flipdown","version":"0.3.2","description":"A lightweight and performant flip styled countdown clock","main":"src/flipdown.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf dist && mkdir -p dist && rm -rf example/css/flipdown && mkdir -p example/css/flipdown && rm -rf example/js/flipdown && mkdir -p example/js/flipdown","dist":"npx babel src/flipdown.js -o dist/flipdown.js --no-comments && npx babel src/flipdown.js --presets=minify --no-comments -o dist/flipdown.min.js && cp src/flipdown.css dist/flipdown.css && uglifycss src/flipdown.css > dist/flipdown.min.css","example":"npx babel src/flipdown.js -o example/js/flipdown/flipdown.js --no-comments && cp dist/flipdown.css example/css/flipdown/flipdown.css","build":"npm run clean && npm run dist && npm run example"},"repository":{"type":"git","url":"git+ssh://git@github.com/PButcher/flipdown.git"},"author":{"name":"Peter Butcher","email":"pbutcher93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/PButcher/flipdown/issues"},"homepage":"https://github.com/PButcher/flipdown#readme","dependencies":{},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.5","babel-preset-minify":"^0.5.0","uglifycss":"0.0.29"},"gitHead":"daae93b842f0250f05b83be560fde3e4814f05b2","_id":"flipdown@0.3.2","_npmVersion":"5.1.0","_nodeVersion":"10.16.3","_npmUser":{"name":"pbutcher","email":"pbutcher93@gmail.com"},"dist":{"integrity":"sha512-WR+NS6iAHcz8F3McMrxydkGVKE7y2H77STSVUa84czj3uwqjcB2EPM6v9XA98eFr8YU1FEfqqYitdl89pMZnJw==","shasum":"1358653857b68a364713772c01cce0010d4bb4a9","tarball":"https://registry.npmjs.org/flipdown/-/flipdown-0.3.2.tgz","fileCount":16,"unpackedSize":68508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepz4ICRA9TVsSAnZWagAA6XEP/2MslYxqnLkbToMRNKTF\nQxf3d4XH9THsK8agkm0mPKSBOntieEuHCMTbgePMar3OtQcRh0gnC6KViW1l\neoWUcxXpwgN/kCzREQA+qxYqXVkGYgPfboaKaBiUIsq11pCiTqLM+VpLGxkW\ndIInrBT2nVlHGkaHmV7koy6bB6LYvOSrrt6Zn5t7OEtHCJ2u8DIryYbIK0q3\n0hpqPh34uNGrPQswgRh04Sl9l7cdqqk4Cxxc2X5a2gYo8VbQQzMv2301Cfi7\n59WZeO32nbc4DOyhSNcn6sbRdwHWAOy0rMn9TF+MefOaQbo72jH3LnI0zvJy\nWtTgvqnuTfANJLamkWc2xt7H0hAs7xzXqjoSIyNDPjr2naYc8ky6bfw2qOKy\nhT9aiAUDKTXvNsLIVOBaq+KYVuDPui955OOh+4G1MsElldlI7oMjDul92jLS\n71YPXdHGY+kM536lhTV1gjl9uVvA80fe6rfgNEBtfBshOajpKC2WmPL88ZQY\n8O6C9aC191KAfTFQomiyrDCXEi7fsCRLykER4XesSLVowzCzkRV955S49GZN\nbC7An2r4pgEI2WuzfMv4dmtgggXmDiPAC4eyj+zu3Eo9ftRWJ0KtOvEeWErS\nO2K5JtAPHSS1FRYCYT4/YMdbp5vDkAcYlAUGd8psPc4qZgE9p5ESWtfUDHT4\nT5pH\r\n=r4Jl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL+WTE2it6IiJGw1cjkY6/3s+2rbCWDaFKdhDHuezRbwIhAO7s6Y4waNbm2KbRhSdlPmRQenr9GVm88Qz+mBeF7ONb"}]},"maintainers":[{"name":"pbutcher","email":"pbutcher93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flipdown_0.3.2_1588018695725_0.9002445867693705"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-12T05:26:15.544Z","0.2.0":"2018-11-12T05:26:15.651Z","modified":"2022-05-02T15:13:33.007Z","0.2.1":"2019-01-08T14:11:21.982Z","0.2.2":"2019-01-30T16:45:45.218Z","0.3.1":"2020-04-27T20:11:42.702Z","0.3.2":"2020-04-27T20:18:15.825Z"},"maintainers":[{"name":"pbutcher","email":"pbutcher93@gmail.com"}],"description":"A lightweight and performant flip styled countdown clock","homepage":"https://github.com/PButcher/flipdown#readme","repository":{"type":"git","url":"git+ssh://git@github.com/PButcher/flipdown.git"},"author":{"name":"Peter Butcher","email":"pbutcher93@gmail.com"},"bugs":{"url":"https://github.com/PButcher/flipdown/issues"},"license":"MIT","readme":"<span style=\"text-align:center;display:block;width:100%;\"><img src=\"http://i.imgur.com/UtbIc4S.png\" style=\"width:75%\" title=\"Example of FlipDown\" style=\"width: 500px;text-align:center\"></span>\n\n# FlipDown\n\n⏰ A lightweight and performant flip styled countdown clock.\n\n![NPM Version](https://img.shields.io/npm/v/flipdown?style=flat-square)\n![NPM Downloads](https://img.shields.io/npm/dt/flipdown)\n\n## Features\n\n- 💡 Lightweight - No jQuery! <11KB minified bundle\n- ⚡ Performant - Animations powered by CSS transitions\n- 📱 Responsive - Works great on screens of all sizes\n- 🎨 Themeable - Choose from built-in themes, or add your own\n- 🌍 i18n - Customisable headings for your language\n\n## Example\n\nExample live at: https://pbutcher.uk/flipdown/\n\nRemix FlipDown on CodePen: https://codepen.io/PButcher/pen/dzvMzZ\n\n## Basic Usage\n\nTo get started, either clone this repo or install with `npm install flipdown` or `yarn add flipdown`.\n\nFor basic usage, FlipDown takes a unix timestamp (in seconds) as an argument.\n\n```javascript\nnew FlipDown(1538137672).start();\n```\n\nInclude the [CSS and JS](https://github.com/PButcher/flipdown/tree/master/dist) in `<head>` and include the following line in your HTML.\n\n```html\n<div id=\"flipdown\" class=\"flipdown\"></div>\n```\n\nSee a full example [here](https://github.com/PButcher/flipdown/tree/master/example).\n\n## Multiple Instances\n\nTo use multiple instances of FlipDown on the same page, specify a DOM element ID as the second argument in FlipDown's constructor:\n\n```javascript\nnew FlipDown(1588017373, \"registerBy\").start();\nnew FlipDown(1593561600, \"eventStart\").start();\n```\n\n```html\n<div id=\"registerBy\" class=\"flipdown\"></div>\n<div id=\"eventStart\" class=\"flipdown\"></div>\n```\n\n## Themes\n\nFlipDown comes with 2 themes as standard:\n\n- dark [default]\n- light\n\nTo change the theme, you can supply the `theme` property in the `opt` object in the constructor with the theme name as a string:\n\n```javascript\n{\n  theme: \"light\";\n}\n```\n\nFor example, to instantiate FlipDown using the light theme instead:\n\n```javascript\nnew FlipDown(1538137672, {\n  theme: \"light\",\n}).start();\n```\n\n### Custom Themes\n\nCustom themes can be added by adding a new stylesheet using the FlipDown [theme template](https://github.com/PButcher/flipdown/blob/master/src/flipdown.css#L3-L34).\n\nFlipDown themes must have the class name prefix of: `.flipdown__theme-` followed by the name of your theme. For example, the standard theme class names are:\n\n- `.flipdown__theme-dark`\n- `.flipdown__theme-light`\n\nYou can then load your theme by specifying the `theme` property in the `opt` object of the constructor (see [Themes](#Themes)).\n\n## Headings\n\nYou can add your own rotor group headings by passing an array as part of the `opt` object. Bear in mind this won't change the functionality of the rotors (eg: the 'days' rotor won't magically start counting months because you passed it 'Months' as a heading).\n\nSuggested use is for i18n. Usage as follows:\n\n```javascript\nnew FlipDown(1538137672, {\n  headings: [\"Nap\", \"Óra\", \"Perc\", \"Másodperc\"],\n}).start();\n```\n\nNote that headings will default to English if not provided: `[\"Days\", \"Hours\", \"Minutes\", \"Seconds\"]`\n\n## API\n\n### `FlipDown.prototype.constructor(uts, [el], [opts])`\n\nCreate a new FlipDown instance.\n\n#### Parameters\n\n##### `uts`\n\nType: _number_\n\nThe unix timestamp to count down to (in seconds).\n\n##### `[el]`\n\n**Optional**  \nType: _string_ (default: `flipdown`)\n\nThe DOM element ID to attach this FlipDown instance to. Defaults to `flipdown`.\n\n##### `[opts]`\n\n**Optional**  \nType: _object_ (default: `{}`)\n\nOptionally specify additional configuration settings. Currently supported settings include:\n\n- [`theme`](#Themes)\n- [`headings`](#Headings)\n\n### `FlipDown.prototype.start()`\n\nStart the countdown.\n\n### `FlipDown.prototype.ifEnded(callback)`\n\nCall a function once the countdown has ended.\n\n#### Parameters\n\n##### `callback`\n\nType: _function_\n\nFunction to execute once the countdown has ended.\n\n#### Example\n\n```javascript\nvar flipdown = new FlipDown(1538137672)\n\n  // Start the countdown\n  .start()\n\n  // Do something when the countdown ends\n  .ifEnded(() => {\n    console.log(\"The countdown has ended!\");\n  });\n```\n\n## Acknowledgements\n\nThanks to the following people for their suggestions/fixes:\n\n- [@chuckbergeron](https://github.com/chuckbergeron) for his help with making FlipDown responsive.\n- [@vasiliki-b](https://github.com/vasiliki-b) for spotting and fixing the Safari backface-visibility issue.\n- [@joeinnes](https://github.com/joeinnes) for adding i18n to rotor group headings.\n","readmeFilename":"README.md"}