This package has been deprecated

Author message:

This package has been deprecated, and this is not npm-check-updates

ncu

0.2.1 • Public • Published

ncu-weather-cli Build Status npm package

A simple CLI for NCU's Information

Requirements

  • Node.js v6 or higher

Global Install

$ npm install ncu -g
$ ncu
or
$ ncu-weather

Local Install

$ npm install ncu
const ncu = require('ncu')
 
// get data from http://www.ncu.edu.tw
ncu.weather().then( data => console.log(ncu.convert(data)) ).catch( err => console.log(err) )
 
// get data from http://pblap.atm.ncu.edu.tw
ncu.weatherAtm().then( data => console.log(ncu.convertAtm(data) ).catch( err => console.log(err) )
 
// functions
console.log(ncu.time())
console.log(ncu.bonus())

Dependency References

License

MIT

Dependencies (2)

Dev Dependencies (6)

Package Sidebar

Install

npm i ncu

Weekly Downloads

1,711

Version

0.2.1

License

MIT

Last publish

Collaborators

  • lovenery