{"_id":"ncu","_rev":"2988682","name":"ncu","description":"Information for National Central University, Taiwan","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"lovenery","email":""}],"time":{"modified":"2023-08-22T08:13:12.000Z","created":"2017-02-27T16:03:08.454Z","0.2.1":"2017-05-01T01:44:01.446Z","0.2.0":"2017-03-18T17:12:41.111Z","0.1.2":"2017-03-10T11:48:09.165Z","0.0.4":"2017-03-05T15:45:30.243Z","0.0.3":"2017-02-28T00:47:06.899Z","0.0.2":"2017-02-27T16:33:00.846Z","0.0.1":"2017-02-27T16:03:08.454Z"},"users":{},"author":{"name":"lovenery"},"repository":{"type":"git","url":"git+https://github.com/ncu-weather/ncu-weather-cli.git"},"versions":{"0.2.1":{"name":"ncu","version":"0.2.1","description":"Information for National Central University, Taiwan","bin":{"ncu":"cli.js","ncu-weather":"cli.js"},"main":"index.js","scripts":{"lint":"eslint .","ci":"eslint . && mocha","test":"mocha","start":"node cli.js"},"repository":{"type":"git","url":"git+https://github.com/ncu-weather/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"devDependencies":{"eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","mocha":"^3.2.0","should":"^11.2.1"},"gitHead":"8f61234a12541c990b290adffb67c48b1cceee16","bugs":{"url":"https://github.com/ncu-weather/ncu-weather-cli/issues"},"homepage":"https://github.com/ncu-weather/ncu-weather-cli#readme","_id":"ncu@0.2.1","_shasum":"3d988b5482c47ed152b3c51428036f7339ac1618","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"3d988b5482c47ed152b3c51428036f7339ac1618","size":4569,"noattachment":false,"key":"/ncu/-/ncu-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.2.1.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncu-0.2.1.tgz_1493603041179_0.4274739462416619"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:59.959Z","publish_time":1493603041446,"_cnpm_publish_time":1493603041446},"0.2.0":{"name":"ncu","version":"0.2.0","description":"Information for National Central University, Taiwan","bin":{"ncu":"cli.js"},"main":"index.js","scripts":{"lint":"eslint .","ci":"eslint . && mocha","test":"mocha","start":"node cli.js"},"repository":{"type":"git","url":"git+https://github.com/lovenery/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"devDependencies":{"eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","mocha":"^3.2.0","should":"^11.2.1"},"gitHead":"d0abad016ee286d977816f1de311a7cc64db8b52","bugs":{"url":"https://github.com/lovenery/ncu-weather-cli/issues"},"homepage":"https://github.com/lovenery/ncu-weather-cli#readme","_id":"ncu@0.2.0","_shasum":"758fe9e8ce83623bfc0229ab5375beceaa265044","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"758fe9e8ce83623bfc0229ab5375beceaa265044","size":4614,"noattachment":false,"key":"/ncu/-/ncu-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.2.0.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncu-0.2.0.tgz_1489857160864_0.5936666955240071"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:59.866Z","publish_time":1489857161111,"_cnpm_publish_time":1489857161111},"0.1.2":{"name":"ncu","version":"0.1.2","description":"Information for National Central University, Taiwan","bin":{"ncu":"cli.js"},"main":"index.js","scripts":{"test":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/lovenery/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"gitHead":"f0e1db9c0819d9931473151e2cd1886f781799c3","bugs":{"url":"https://github.com/lovenery/ncu-weather-cli/issues"},"homepage":"https://github.com/lovenery/ncu-weather-cli#readme","_id":"ncu@0.1.2","_shasum":"2af6c33d6fa33896dab8a282899cdee033600f13","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"2af6c33d6fa33896dab8a282899cdee033600f13","size":2325,"noattachment":false,"key":"/ncu/-/ncu-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.1.2.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ncu-0.1.2.tgz_1489146487281_0.035383193055167794"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:58.984Z","publish_time":1489146489165,"_cnpm_publish_time":1489146489165},"0.0.4":{"name":"ncu","version":"0.0.4","description":"Information for National Central University, Taiwan","bin":{"ncu":"index.js"},"main":"index.js","scripts":{"test":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/lovenery/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"gitHead":"d2a3bac3cbb96587727584991437375c9d8d9bbd","bugs":{"url":"https://github.com/lovenery/ncu-weather-cli/issues"},"homepage":"https://github.com/lovenery/ncu-weather-cli#readme","_id":"ncu@0.0.4","_shasum":"85f02fdd77b66f8350353ac3a2f8f9ab74586e73","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"85f02fdd77b66f8350353ac3a2f8f9ab74586e73","size":1952,"noattachment":false,"key":"/ncu/-/ncu-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.0.4.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ncu-0.0.4.tgz_1488728728564_0.2414559090975672"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:58.105Z","publish_time":1488728730243,"_cnpm_publish_time":1488728730243},"0.0.3":{"name":"ncu","version":"0.0.3","description":"Information for National Central University, Taiwan","bin":{"ncu":"index.js"},"main":"index.js","scripts":{"test":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/lovenery/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"gitHead":"f0deae2d3517b9201a99400b1ac0bb320e3e2673","bugs":{"url":"https://github.com/lovenery/ncu-weather-cli/issues"},"homepage":"https://github.com/lovenery/ncu-weather-cli#readme","_id":"ncu@0.0.3","_shasum":"685004e53cbc006c8d4608aac28008091a1d4520","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"685004e53cbc006c8d4608aac28008091a1d4520","size":1943,"noattachment":false,"key":"/ncu/-/ncu-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.0.3.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncu-0.0.3.tgz_1488242826635_0.03279528860002756"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:57.229Z","publish_time":1488242826899,"_cnpm_publish_time":1488242826899},"0.0.2":{"name":"ncu","version":"0.0.2","description":"Information for National Central University, Taiwan","bin":{"ncu":"index.js"},"main":"index.js","scripts":{"test":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/lovenery/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"gitHead":"5b3fb0ec53208a239df9c1e23b2250331e2bfd64","bugs":{"url":"https://github.com/lovenery/ncu-weather-cli/issues"},"homepage":"https://github.com/lovenery/ncu-weather-cli#readme","_id":"ncu@0.0.2","_shasum":"bc4da20f026c62d5164dbac334411530e9e07ee2","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"bc4da20f026c62d5164dbac334411530e9e07ee2","size":1129,"noattachment":false,"key":"/ncu/-/ncu-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.0.2.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ncu-0.0.2.tgz_1488213178977_0.6490858567412943"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:56.371Z","publish_time":1488213180846,"_cnpm_publish_time":1488213180846},"0.0.1":{"name":"ncu","version":"0.0.1","description":"Information for National Central University, Taiwan","bin":{"ncu":"index.js"},"main":"index.js","scripts":{"test":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/lovenery/ncu-weather-cli.git"},"keywords":["ncu"],"author":{"name":"lovenery"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","request":"^2.79.0"},"gitHead":"b6ab7c097f80d24e540560900e7dd70ef7157afa","bugs":{"url":"https://github.com/lovenery/ncu-weather-cli/issues"},"homepage":"https://github.com/lovenery/ncu-weather-cli#readme","_id":"ncu@0.0.1","_shasum":"6390cdcfc69f0b5de76d984de03fb1614a4af0ce","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"lovenery","email":"edittye379@gmail.com"},"dist":{"shasum":"6390cdcfc69f0b5de76d984de03fb1614a4af0ce","size":920,"noattachment":false,"key":"/ncu/-/ncu-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ncu/download/ncu-0.0.1.tgz"},"maintainers":[{"name":"lovenery","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncu-0.0.1.tgz_1488211388198_0.82469313708134"},"directories":{},"deprecated":"This package has been deprecated, and this is not npm-check-updates","_cnpmcore_publish_time":"2021-12-19T23:08:55.519Z","publish_time":1488211388454,"_cnpm_publish_time":1488211388454}},"readme":"# ncu-weather-cli [![Build Status](https://travis-ci.org/ncu-weather/ncu-weather-cli.svg?branch=master)](https://travis-ci.org/ncu-weather/ncu-weather-cli) [![npm package](https://img.shields.io/npm/v/ncu.svg)](https://www.npmjs.com/package/ncu)\nA simple CLI for NCU's Information\n\n### Requirements\n- Node.js v6 or higher\n\n### Global Install\n```bash\n$ npm install ncu -g\n$ ncu\nor\n$ ncu-weather\n```\n\n### Local Install\n```bash \n$ npm install ncu\n```\n\n```javascript\nconst ncu = require('ncu')\n\n// get data from http://www.ncu.edu.tw\nncu.weather().then( data => console.log(ncu.convert(data)) ).catch( err => console.log(err) )\n\n// get data from http://pblap.atm.ncu.edu.tw\nncu.weatherAtm().then( data => console.log(ncu.convertAtm(data) ).catch( err => console.log(err) )\n\n// functions\nconsole.log(ncu.time())\nconsole.log(ncu.bonus())\n```\n\n### Dependency References\n- request [GitHub](https://github.com/request/request)\n- cheerio [GitHub](https://github.com/cheeriojs/cheerio)\n- eslint [GitHub](https://github.com/eslint/eslint) | [Site](http://eslint.org)\n- mocha [GitHub](https://github.com/mochajs/mocha) | [Site](https://mochajs.org)\n- should [GitHub](https://github.com/shouldjs/should.js) | [Site](http://shouldjs.github.io)\n\n### License\nMIT\n\n","_attachments":{},"homepage":"https://github.com/ncu-weather/ncu-weather-cli#readme","bugs":{"url":"https://github.com/ncu-weather/ncu-weather-cli/issues"},"license":"MIT"}