{"_id":"@aigre87/ng2-date-countdown","_rev":"2-cdfd89a317fd3fd318df0b1f39f4627a","name":"@aigre87/ng2-date-countdown","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aigre87/ng2-date-countdown","version":"1.0.0","description":"Angular2 Simple Date CountDown","repository":{"type":"git","url":"git+https://github.com/aigre87/ng2-date-countdown.git","email":"aigre87@gmail.com"},"keywords":["angular2 countdown","ng2 simple countdown"],"license":"MIT","peerDependencies":{"@angular/common":"7.2.2","@angular/core":"7.2.2"},"devDependencies":{"@angular/cli":"7.2.2","@angular/common":"7.2.2","@angular/compiler":"7.2.2","@angular/compiler-cli":"7.2.2","@angular/core":"7.2.2","colors":"^1.1.2","ng-packagr":"^5.5.1","node-sass":"^4.7.2","request":"^2.83.0","rxjs":"^6.3.3","tslib":"^1.8.1","typescript":"~3.2.0","yargs":"^12.0.5","zone.js":"^0.8.18"},"$schema":"./node_modules/ng-packagr/package.schema.json","main":"bundles/ng2-date-countdown.umd.js","module":"fesm5/ng2-date-countdown.js","es2015":"fesm2015/ng2-date-countdown.js","esm5":"esm5/ng2-date-countdown.js","esm2015":"esm2015/ng2-date-countdown.js","fesm5":"fesm5/ng2-date-countdown.js","fesm2015":"fesm2015/ng2-date-countdown.js","typings":"ng2-date-countdown.d.ts","metadata":"ng2-date-countdown.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"bugs":{"url":"https://github.com/aigre87/ng2-date-countdown/issues"},"homepage":"https://github.com/aigre87/ng2-date-countdown#readme","_id":"@aigre87/ng2-date-countdown@1.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-Y6bTMpeiVpKGGSbpGLH63LHmH8Gb22nZnc7RqZ5zNMQSJwagUbLl/6X0rJ0S7LdTypwNyOMjYMxCHdehY8pKDg==","shasum":"6dd6db3be67f6eb3d8e281a6bf50c2cb12756754","tarball":"https://registry.npmjs.org/@aigre87/ng2-date-countdown/-/ng2-date-countdown-1.0.0.tgz","fileCount":26,"unpackedSize":147863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3rMpCRA9TVsSAnZWagAAqnwP/RLH0K1s0EhSR3xSw4H5\nj4VvRVJPJSFps0oiBG79dGMG59KGPQJYx8gd7eHm8fWrB4Gu8/kMsKgdA9AC\nspXO9y+KN9g22NpXfNWwxqktw040cI8NtCA7Wdd349ePd9V59C7gaGjEmm9a\na/TiKhlP5/rdWyzlc5B5Ewtu/QP2JnG2AoaFgxS2rbLdD92yoEtxPQG7CJLQ\nZ59gyy+d6YQGvXJ0EETwKBXRKM3c7GQxW2GxfiXMCaXK/6GF3mKPQS7wT5EM\nYHblFrqOT1RiJqDIG0bv3BJS/h8VNEe124LVhXFmtxJnqlszL7uMx7eP93xr\nBc7p0VxmU4oCoGaDfH1wfMxsD36LaSpqyZIB9C/Wspt5deIFYfi5u+zJKJwA\n16MZJJWu0r97ivKPa5wY2ebH8nMUZX1KCg1CmhBf9p027jcLyfzZdOzW/RR/\n1JtSSqj3vOw8dEOvnut7ktcME/GZIyRBxz5BcNQsdRkc/F6CsT4jdL33+1nw\ny/Sr+Rd8I/m3V7ylGGSdSli3gVmdQy2GXvb5cfZP9b0pSZMbeQ+Pqc2XwoBv\nEM51umWpQlm3dOnyTcBcEsdAUXwgZiYQybS2jsphHfZsypJy6OYNAR+KqVz2\nJYbLW47Uc53scdM60nhhrVpiVXo3vV107stGmUtByuCjdzn7UP7aebd4BAlm\nCKnb\r\n=cTMk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZeVwCndw67oEc93/qH8IMV5d+G4ZV0bvA/e/9wLPz3AIhALMyBL90VIH+m5VdkIsrPf41G0i94yEyy/Ga2o4h7Txr"}]},"maintainers":[{"name":"aigre87","email":"aigre87@gmail.com"}],"_npmUser":{"name":"aigre87","email":"aigre87@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng2-date-countdown_1.0.0_1574875944566_0.05614026484254042"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aigre87/ng2-date-countdown","version":"1.0.1","description":"Angular2 Simple Date CountDown","repository":{"type":"git","url":"git+https://github.com/aigre87/ng2-date-countdown.git","email":"aigre87@gmail.com"},"keywords":["angular2 countdown","ng2 simple countdown"],"license":"MIT","peerDependencies":{"@angular/common":"7.2.2","@angular/core":"7.2.2"},"devDependencies":{"@angular/cli":"7.2.2","@angular/common":"7.2.2","@angular/compiler":"7.2.2","@angular/compiler-cli":"7.2.2","@angular/core":"7.2.2","colors":"^1.1.2","ng-packagr":"^5.5.1","node-sass":"^4.7.2","request":"^2.83.0","rxjs":"^6.3.3","tslib":"^1.8.1","typescript":"~3.2.0","yargs":"^12.0.5","zone.js":"^0.8.18"},"$schema":"./node_modules/ng-packagr/package.schema.json","main":"bundles/ng2-date-countdown.umd.js","module":"fesm5/ng2-date-countdown.js","es2015":"fesm2015/ng2-date-countdown.js","esm5":"esm5/ng2-date-countdown.js","esm2015":"esm2015/ng2-date-countdown.js","fesm5":"fesm5/ng2-date-countdown.js","fesm2015":"fesm2015/ng2-date-countdown.js","typings":"ng2-date-countdown.d.ts","metadata":"ng2-date-countdown.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"bugs":{"url":"https://github.com/aigre87/ng2-date-countdown/issues"},"homepage":"https://github.com/aigre87/ng2-date-countdown#readme","_id":"@aigre87/ng2-date-countdown@1.0.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-ledIVnaiNRO5QdxUzAq2BlLgRU1/vJ+B97F/BXxU5T5vBJOEPCmhuFz/qMYLarAnYuOMkty+HmPhxFJtH5JE0A==","shasum":"43bf6d391a258a1007abcc26547b2ddce9e0a2ae","tarball":"https://registry.npmjs.org/@aigre87/ng2-date-countdown/-/ng2-date-countdown-1.0.1.tgz","fileCount":26,"unpackedSize":147863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3rNACRA9TVsSAnZWagAAQtMP+QGHt/5UuffZDC7kC8CU\nVpLWZPc7/USXxl3yrNAIg8IU9CQdB2yfZbIhiTqqzMDPNQ9uZpxvNS0ZKiZk\nb6IVUCSg15vA/AP9iJ//bCawr/IXe11lMPsmdBTX4VTbwKLm1Vqg2Rb7lGj4\nSmpSTmNt4TApgR5/pqTcYTcpE10peATfWm9oHJGZrqyXqng6GdIJ7aP/ZOaH\n+bEA7DTWHmfnX4rrHGIRXMHNH4lmTlZmcQdF13iP7fNOv1KnFRsMJxnKW9LF\n7LO5F+kR/dafpcyDLsr0wF4AetSix+tELbMO6+Pc9oZ8PVwaz5LTaMFvr9lS\nmPGa3Wioftj5gCBlswF4w9QA1sLZq1hviUaE/aF9kz4iD/Dgj9uexuGhTKaE\njrnOQWxJ+TU02GcEnScS77K20Nuvd2z0GGgqCplyeufoyiMHQBqvGRvwLWr6\nM1+YkVynNkJ3g22N+pDKwbbWEHV4YGeSdafzfI8+fjO37mEcdLSsSJ/43ErS\nz7JZuf90+rvmZTl+6CvS1w9ILxFVGv19x5LHFxDqeZX7Jp2DG/obqcW7SvO0\nA1ROsQUNIe8L9+/xxXqBBT931zhqUgu3vat3pCDaCCICHb9SvCg4RWoaYQGH\n1uIz8YKrx/m/7vrFdjGM1lTKOw9KXRRFE51YOtSu0iaCOyY6dcHZctNOx1yc\n3Vai\r\n=4eTf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiZfOQAOrw/7eE1pAK7rogW1x5TpTs/hRdikxMnQkdMAiBluCaVZEzZvsu9xbGUyH8Xoh8VTAF1K95cTurcEBBSuQ=="}]},"maintainers":[{"name":"aigre87","email":"aigre87@gmail.com"}],"_npmUser":{"name":"aigre87","email":"aigre87@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng2-date-countdown_1.0.1_1574875967541_0.46632021116544276"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-27T17:32:24.342Z","1.0.0":"2019-11-27T17:32:24.739Z","modified":"2022-04-04T12:17:48.809Z","1.0.1":"2019-11-27T17:32:47.755Z"},"maintainers":[{"name":"aigre87","email":"aigre87@gmail.com"}],"description":"Angular2 Simple Date CountDown","homepage":"https://github.com/aigre87/ng2-date-countdown#readme","keywords":["angular2 countdown","ng2 simple countdown"],"repository":{"type":"git","url":"git+https://github.com/aigre87/ng2-date-countdown.git","email":"aigre87@gmail.com"},"bugs":{"url":"https://github.com/aigre87/ng2-date-countdown/issues"},"license":"MIT","readme":"<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/matheushf/ng2-date-countdown/master/img/finalcountdown.png\" alt=\"Europe\">\n</p>\n\n<br>\n<br>\n\n## Make customizables Date Countdowns with this simple and easy angular 8 component.\n\n(`--prod` compatible)\n<br>\n<br>\n\n<p align=\"center\">\n<img width=\"80%\" src=\"https://raw.githubusercontent.com/matheushf/ng2-date-countdown/master/img/custom1.png\" alt=\"Europe\">\n</p>\n\n<br>\n\n<p align=\"center\">\n<img width=\"80%\" src=\"https://raw.githubusercontent.com/matheushf/ng2-date-countdown/master/img/custom3.png\" alt=\"Europe\">\n</p>\n\n<br>\n\n<p align=\"center\">\n<img width=\"80%\" src=\"https://raw.githubusercontent.com/matheushf/ng2-date-countdown/master/img/custom2.png\" alt=\"Europe\">\n</p>\n\n<br>\n\n**Fork https://github.com/matheushf/ng2-date-countdown**\n\n<br>\n\n## Instalation\n\n`npm install ng2-date-countdown --save`\n\nIn your `app.module`, add `CountdownModule` to your imports:\n\n```\nimport { CountdownModule } from \"ng2-date-countdown\";\n\n@NgModule({\n   declarations: [\n     AppComponent\n   ],\n   imports: [\n     BrowserModule,\n     CountdownModule\n   ],\n   bootstrap: [AppComponent]\n })\n ```\n\n## Usage\n\n `(reached)=\"someFunction($event)\" You can use a Callback function for when it reaches 0\" `\n\n `[text]: Change the text displayed in the date `\n\n `[units]: Choose wich units do you wanna display `\n\n `[divider]: Choose what do you want to divade the dates ` \n\n `[showZeros]: Choose if you want to show a zero before the number '01 Days'`\n\n In your html template:\n\n ```\n <countdown units=\"Year | Month | Days | Hours | Minutes | Seconds\"  end=\"July 22, 2019\"></countdown>\n ```\n\n To set a custom Language and divider, set this variable in your component.ts file:\n\n ```\n text:any = {\n     Year: 'Year',\n     Month: 'Month',\n     Weeks: \"Weeks\",\n     Days: \"Days\",\n     Hours: \"Hours\",\n     Minutes: \"Minutes\",\n     Seconds: \"Seconds\",\n     MilliSeconds: \"MilliSeconds\"\n   };\n ```\n\nIn your .html:\n\n ```\n <countdown (reached)=\"callback($event)\" [text]=\"text\" units=\"Year | Month | Days | Hours | Minutes | Seconds\"  end=\"July 22, 2019\"></countdown>\n ```\n\nTo customize the Countdown (.scss), use the class from it (you can inspect from chrome elements) and put the '/deep/' before them, example:\n\n```\n    /deep/ .countdown {\n      width: 100%;\n      height: 100px;\n      background: black;\n\n      .measurements {\n        color: white;\n        margin-right: 5px;\n        padding: 10px;\n     }\n\n     .divider {\n      font-size: 30px;\n     }\n```\n\n(inspired on [angular-simple-countdown](https://github.com/previousdeveloper/angular2-simple-countdown))\n","readmeFilename":"README.md"}