ncu

Information for National Central University, Taiwan

This package has been deprecated, and this is not npm-check-updates
Last updated 9 years ago by lovenery .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ncu 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.1                                ...           latest (9 years ago)

7 Versions

  • 0.2.1 [deprecated]           ...           9 years ago
  • 0.2.0 [deprecated]           ...           9 years ago
  • 0.1.2 [deprecated]           ...           9 years ago
  • 0.0.4 [deprecated]           ...           9 years ago
  • 0.0.3 [deprecated]           ...           9 years ago
  • 0.0.2 [deprecated]           ...           9 years ago
  • 0.0.1 [deprecated]           ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 6
Last Month 1
Dependencies (2)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |