Releases: Typeslint/msn-weather-api
Releases · Typeslint/msn-weather-api
0.3.1
Warning
This version is still in pre-release and may be unstable. Proceed with caution!
What's Changed
- chore: fix Node requirement by @CodeGoat-dev in #1
- fix: refine lang and degree parameter checks in constructor
- test: refine test for parameter validation in constructor
New Contributors
- @CodeGoat-dev made their first contribution in #1
Full Changelog: 0.3.0...0.3.1
0.3.0
Warning
This version is still in pre-release and may be unstable. Proceed with caution!
What's Changed
- chore: add npm ignore
- docs: add installation guide and update module usage
- test: add test for parameter validation in constructor
- feat: add parameter validation in constructor
- feat: add date and icon type
- test: coverage function result
- feat: add date and icon result
- test(linter): add no-console rules
- chore(release): 0.3.0 release
Full Changelog: 0.2.1...0.3.0
0.2.1
Warning
This version is still in pre-release and may be unstable. Proceed with caution!
What's Changed
- docs: add days parameter for getForecastData()
- chore: create npmignore
- build: add action workflows and codeowners
- build: change jobs to test
- chore(tsconfig): use wildcard in include
- chore: delete global.d.ts
- refactor: update type definition and export module
- refactor: reordered return statement
- chore(release): 0.2.1 release
Full Changelog: 0.2.0...0.2.1
0.2.0
Warning
This version is still in pre-release and may be unstable. Proceed with caution!
What's Changed
- feat: add declaration types
- feat: add getForecastData()
- test: add getForecastData() unit test
- docs: update module usage
- fix: error fetching on forecastData
- perf: optimize weather api tests
- refactor: reordered validation logic for 'days' parameter
- test: add coverage config
- chore: exclude coverage
- test: improve test coverage
- docs(LICENSE): change contact email
- docs: update module usage
- chore(release): 0.2.0 release
Full Changelog: 0.1.0...0.2.0
0.1.0
Warning
This version is still in pre-release and may be unstable. Proceed with caution!
msn-weather-xml
Weather forecast by MSN weather.Usage
const weatherjs = require('msn-weather-xml');
const weather = new weatherjs('en', 'c');
(async () => {
(await weather.getCurrentData('kyoto')).location;
})();