{"_id":"yr.no-forecast","_rev":"27-c5e5674799f12df08f307548265e924c","name":"yr.no-forecast","description":"retrieve a weather forecast for a given time and location from met.no","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.1":{"name":"yr.no-forecast","version":"0.0.1","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"0.0.2","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"_id":"yr.no-forecast@0.0.1","dist":{"shasum":"6278de646ddd156086f13ea6d457f3adb20622a8","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.1.tgz","integrity":"sha512-FkFDLZNAIk7pbkqnuH3ElaN7f7NwgoOvx7f4qvl2ohpdYQovXX9bBF9ZXaIVJqgRQP0yuMN2gZSJPE04a7Ic4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDX4kFW5efqoTz9E4tJlZ2rYnUt9p6yOg/sFncBfOrR7AiEAtIwTmvMFdRHQBxtPGz0BXtw7S6UFM9RkfHw66ZaxwaI="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.2":{"name":"yr.no-forecast","version":"0.0.2","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"0.0.2","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"_id":"yr.no-forecast@0.0.2","dist":{"shasum":"9240f71bb91b79b23e48f05d833346efabde0a37","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.2.tgz","integrity":"sha512-aM4ym6uqPKdGPjIfOX/qUYrhjjJwj3/J5Y1h3vMsNcu8fXfMedmAPP8nnwzDj16L8N4CfP0zp/9M3wtIK5pukw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQnzDytrw067Stmx9IX/F4DG3Xemchxt0vDGnBXnxQOQIhAKwid+gk9Pdlq53kiFNRXJLWXsIPI5+qxnl8n2ai/yZ8"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.3":{"name":"yr.no-forecast","version":"0.0.3","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"0.0.2","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"_id":"yr.no-forecast@0.0.3","dist":{"shasum":"20180318a70a97468bc81ce51514f413d63eb110","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.3.tgz","integrity":"sha512-1YwaOi5KxGGenHc4XsQp6raN8RmmmGfV5rY88dB8KGqvAnBd2kdJZRzBARdH3nhIHLCXFITIejG43+Szd0IOgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgrF3eaYlPVgOpcAsoRfmO5NmabdsQ3wjSLs489Mbg3AIgXGF/Byf2l+sUe6zHsI22ZRfiN5yaVolRCjYFV7GQc1g="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.4":{"name":"yr.no-forecast","version":"0.0.4","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"0.0.2","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"license":"MIT","repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"_id":"yr.no-forecast@0.0.4","dist":{"shasum":"5d1db2ff2785924cb7da49d6e5de9c6d4441d784","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.4.tgz","integrity":"sha512-kY4TuBDajUuTr6QUqUQXSKZ0xfV4bNIfd5B4s/oWXtupmxU1JKuSWHIWeRZZNhmDsCdPDOOQWK9RUTPDkqHpXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhQ+yfSmAGLSabCllkzctndS7ZsKyIWxgHRlm+NuXihAiEAs8siX3C5PeNYh2l99PUWEXpnwg+NWzOaksYxWaVhN+M="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.5":{"name":"yr.no-forecast","version":"0.0.5","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"*","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"license":"MIT","repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast","_id":"yr.no-forecast@0.0.5","dist":{"shasum":"03986e8985ed13fbf382dc78df26e4bc9b76390b","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.5.tgz","integrity":"sha512-r1EuR9z84R5ORbGbuyFVD9H3yGNYBCPQ0YXNMwEeKLjpDwsS6wPrM2lL/g3MQ4wMkNmulNL0N6/8tBqJTzb2sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU7ic2tdmAzxPq1o4Uy2853x6lpD+1AgHXq7CHS72XRwIgeWnUhWh2dcn+uftoMZlcxCEoIPJmqAVdHHs1F+P3vok="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.51":{"name":"yr.no-forecast","version":"0.0.51","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"*","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"license":"MIT","repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast","_id":"yr.no-forecast@0.0.51","dist":{"shasum":"11c1f0df095825fcd2b4e0153cf4fd689fd15efe","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.51.tgz","integrity":"sha512-LPQYsPWbkjuWaW7H8004z8/2UUklAzdm1RjQXttNOgepEeJa7+XKX7epBlQZwhGRUh+k2APTdCtlxseLXWX7Ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdwAvS40InBxegSJyK8wA/ZKtqFcT+omqbVNZEBglVLAiEAqKJNlVjxDRTRL65MwW8EoAbGcs+s+po6PNa/yT3N33k="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.6":{"name":"yr.no-forecast","version":"0.0.6","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"*","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"license":"MIT","repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast","_id":"yr.no-forecast@0.0.6","dist":{"shasum":"b7ae09bd392f2e972725e981fd3c97f25c209704","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.6.tgz","integrity":"sha512-cUjuFf9VBxB9/KOKFFsyqXQiSG8u0Zuu4GbuMyCHxTn8AZAGsPcZcM91ONg8zuNNOEGHd8QpfR5Sp68MSy1mbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9d9RUt0tPDk64D5V443Te30mD11W1LIn6Ok3tVuCSZQIgYVJt1J7HFUaUapblg+x58JpYZoZHGy9avIdqdABy7S4="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"0.0.7":{"name":"yr.no-forecast","version":"0.0.7","description":"Module to easily retrieve simple weather forecast for a given time and location.","main":"./index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"yr.no-interface":"0.1.1","moment":"2.4.0","xml2js":"0.2.8","async":"0.2.9"},"license":"MIT","repository":{"type":"git","url":"https://github.com/evanshortiss/yr.no-forecast"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK"],"author":{"name":"Evan Shortiss"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast","_id":"yr.no-forecast@0.0.7","dist":{"shasum":"8fafc71a6768f5df2bdc9c19acd9aac4634a41c8","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-0.0.7.tgz","integrity":"sha512-zGJDFbPdFtznPzoHqeN2TTMjupw683h5bxbNonHd/42K1KEqwAM2cruD2F67PwMLlckQMLIIG+HkN8ERBYFsRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSnlnZrg+Q3zQtWsJCSGVxY4Llfr0K0x/oHmjsK0GkjAiEAtjGEFgHg8hDBepTKTwH8+aUO28Syi5ZVoknjND288JQ="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"directories":{}},"1.0.0":{"name":"yr.no-forecast","version":"1.0.0","description":"retrieve a weather forecast for a given time and location from met.no","main":"./index.js","scripts":{"test":"npm run lint && npm run unit && npm run coverage","lint":"npm run eslint && npm run linelint","eslint":"eslint index.js test/*.js","linelint":"linelint -l 120 index.js test/*.js","unit":"NODE_PATH=. mocha test/","coveralls":"npm run coverage && cat coverage/lcov.info | coveralls","coverage":"NODE_PATH=. nyc mocha test/ && nyc report --reporter=lcov"},"files":["index.js"],"dependencies":{"bluebird":"~3.5.0","debug":"~2.6.3","lodash.filter":"~4.6.0","lodash.foreach":"~4.5.0","moment":"~2.4.0","pixl-xml":"~1.0.10","verror":"~1.9.0","yr.no-interface":"~0.1.1"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/evanshortiss/yr.no-forecast.git"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK","yr","no","met.no","api.met.no","forecast"],"engines":{"node":">=4.4.2"},"author":{"name":"Evan Shortiss"},"devDependencies":{"chai":"~3.5.0","chai-truthy":"~1.0.0","coveralls":"~2.13.0","eslint":"~3.19.0","linelint":"~1.0.1","mocha":"~3.2.0","nyc":"~10.2.0","proxyquire":"~1.7.11","require-uncached":"~1.0.3","sinon":"~2.1.0"},"gitHead":"81f17833aa414d5f8db4f7aa693ff613234b3f8d","bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast#readme","_id":"yr.no-forecast@1.0.0","_shasum":"5000f00734146576434e78af6b359227cf1022c1","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.4.3","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"dist":{"shasum":"5000f00734146576434e78af6b359227cf1022c1","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-1.0.0.tgz","integrity":"sha512-1xJ0/Cb3QTcGaiI1It/PW4tck+2vUiYsvJCHV+VXkYbMaLkLphcDWL1ghiqvRAJuYaoED0aYQgOMywhqFoFvoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4nNoiiXXcTEKDMCFS1INbvIsooYnTcmnPBfM7rK333AIhALzO0xWyQaa7HOdd7SNZyC9hM8Em4AmU7zR3eJcQ7A4B"}]},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yr.no-forecast-1.0.0.tgz_1493273467004_0.5544841750524938"},"directories":{}},"1.0.1":{"name":"yr.no-forecast","version":"1.0.1","description":"retrieve a weather forecast for a given time and location from met.no","main":"./index.js","scripts":{"test":"npm run lint && npm run unit && npm run coverage","lint":"npm run eslint && npm run linelint","eslint":"eslint index.js test/*.js","linelint":"linelint -l 120 index.js test/*.js","unit":"NODE_PATH=. mocha test/","coveralls":"npm run coverage && cat coverage/lcov.info | coveralls","coverage":"NODE_PATH=. nyc mocha test/ && nyc report --reporter=lcov","example":"node example/dublin-weather.js"},"files":["index.js"],"dependencies":{"bluebird":"~3.5.0","debug":"~2.6.3","lodash.filter":"~4.6.0","lodash.foreach":"~4.5.0","moment":"~2.18.1","pixl-xml":"~1.0.10","verror":"~1.9.0","yr.no-interface":"~1.0.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/evanshortiss/yr.no-forecast.git"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK","yr","no","met.no","api.met.no","forecast"],"engines":{"node":">=4.4.2"},"author":{"name":"Evan Shortiss"},"devDependencies":{"chai":"~3.5.0","chai-truthy":"~1.0.0","coveralls":"~2.13.0","eslint":"~3.19.0","linelint":"~1.0.1","mocha":"~3.2.0","nyc":"~10.2.0","proxyquire":"~1.7.11","require-uncached":"~1.0.3","sinon":"~2.1.0"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast#readme","directories":{"example":"example","test":"test"},"gitHead":"a037b658a41afadf3b028b873223f9b74b46f38f","_id":"yr.no-forecast@1.0.1","_shasum":"bc625d8eeac933ebae92c3599418faecf5ab4214","_from":".","_npmVersion":"4.5.0","_nodeVersion":"4.4.3","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"dist":{"shasum":"bc625d8eeac933ebae92c3599418faecf5ab4214","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-1.0.1.tgz","integrity":"sha512-e81ZgostKJh3poxfTm21SFWbqWbCvhWQ7TEE9EVq+p4jr53nOv0FJkzkblTatU6by9xkmlKMmJyEvQ+DQrnYDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATwigStsmh0ZlwFzTt6JhoGDTXvwCzVxWbPRy6qKqPHAiAGCXVmjEO3uvQIaacRb+3uym1Hj26l0sJ1CAKzY0tz4w=="}]},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/yr.no-forecast-1.0.1.tgz_1493341618469_0.3216666660737246"}},"2.0.0":{"name":"yr.no-forecast","version":"2.0.0","description":"retrieve a weather forecast for a given time and location from met.no","main":"./index.js","scripts":{"test":"date && npm run lint && npm run unit && npm run coverage","lint":"npm run eslint && npm run linelint","eslint":"eslint index.js test/*.js","linelint":"linelint -l 120 index.js test/*.js","unit":"NODE_PATH=. mocha test/","coveralls":"npm run coverage && cat coverage/lcov.info | coveralls","coverage":"NODE_PATH=. nyc mocha test/ && nyc report --reporter=lcov","example":"node example/dublin-weather.js","benchmark":"node benchmark/index.js"},"files":["index.js"],"dependencies":{"bluebird":"~3.5.0","debug":"~2.6.3","lodash.filter":"~4.6.0","lodash.find":"~4.6.0","lodash.foreach":"~4.5.0","moment":"~2.18.1","pixl-xml":"~1.0.10","verror":"~1.9.0","yr.no-interface":"~1.0.1"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/evanshortiss/yr.no-forecast.git"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK","yr","no","met.no","api.met.no","forecast"],"engines":{"node":">=4.4.2"},"author":{"name":"Evan Shortiss"},"devDependencies":{"benchmark":"~2.1.4","chai":"~3.5.0","chai-truthy":"~1.0.0","coveralls":"~2.13.0","eslint":"~3.19.0","linelint":"~1.0.1","mocha":"~3.2.0","nyc":"~10.2.0","proxyquire":"~1.7.11","require-uncached":"~1.0.3","sinon":"~2.1.0"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast#readme","directories":{"example":"example","test":"test"},"gitHead":"79ce93d830f6255b50e2663ceb36186ad944a892","_id":"yr.no-forecast@2.0.0","_shasum":"dd7924e26ff1c807caccbf24ecc69dacdc8fc15f","_from":".","_npmVersion":"4.5.0","_nodeVersion":"4.4.3","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"dist":{"shasum":"dd7924e26ff1c807caccbf24ecc69dacdc8fc15f","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-2.0.0.tgz","integrity":"sha512-fda7GeBtZMVMfliN6akmbYEcBzsa+LsQExVVsQBbbob5560urbqt/UY7zVvlLGioN8X8HHUULP0oyEa9TpbIlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBAzJ32JUZp0NRMuMCviTluQ5A/+yTSZuIsiquRv2qxgIhAJyOmg2jlnpI/dy8bXJp9gDBNQEmh1vaHypsoVz9cQzk"}]},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yr.no-forecast-2.0.0.tgz_1495726882337_0.2419334992300719"}},"2.1.0":{"name":"yr.no-forecast","version":"2.1.0","description":"retrieve a weather forecast for a given time and location from met.no","main":"./index.js","scripts":{"test":"date && npm run lint && npm run unit && npm run coverage","lint":"npm run eslint && npm run linelint","eslint":"eslint index.js test/*.js","linelint":"linelint -l 120 index.js test/*.js","unit":"NODE_PATH=. mocha test/","coveralls":"npm run coverage && cat coverage/lcov.info | coveralls","coverage":"NODE_PATH=. nyc mocha test/ && nyc report --reporter=lcov","example":"node example/dublin-weather.js","benchmark":"node benchmark/index.js"},"files":["index.js"],"dependencies":{"bluebird":"~3.5.0","debug":"~2.6.3","lodash.filter":"~4.6.0","lodash.find":"~4.6.0","lodash.foreach":"~4.5.0","moment":"~2.22.0","pixl-xml":"~1.0.10","verror":"~1.9.0","yr.no-interface":"~1.2.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/evanshortiss/yr.no-forecast.git"},"keywords":["yr.no","api","met","weather","Meteorologisk","NRK","yr","no","met.no","api.met.no","forecast"],"engines":{"node":">=4.4.2"},"author":{"name":"Evan Shortiss"},"devDependencies":{"benchmark":"~2.1.4","chai":"~3.5.0","chai-truthy":"~1.0.0","coveralls":"~2.13.0","eslint":"~3.19.0","linelint":"~1.0.1","mocha":"~3.2.0","nyc":"~10.2.0","proxyquire":"~1.7.11","require-uncached":"~1.0.3","sinon":"~2.1.0"},"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"homepage":"https://github.com/evanshortiss/yr.no-forecast#readme","directories":{"example":"example","test":"test"},"gitHead":"065320a3540d4b7890ba5ff94784023c904ecfca","_id":"yr.no-forecast@2.1.0","_shasum":"73dc7bd9d90c9a062cdbc5a446f4e278f5504c98","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"evanshortiss","email":"evanshortiss@gmail.com"},"dist":{"shasum":"73dc7bd9d90c9a062cdbc5a446f4e278f5504c98","tarball":"https://registry.npmjs.org/yr.no-forecast/-/yr.no-forecast-2.1.0.tgz","fileCount":5,"unpackedSize":17147,"integrity":"sha512-4x0dsLMM0JZnEt080FqcfQvNDmLJUM+O0/G+J2t6RSwjzbAMaTKDbIvgfpOhsU4j5LoI51PcpI/4euUlZk1QWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLYDjgOVzAICj4fbGtNVBJ99GlmcfjIjlFw67AHKcOCAiBhiP6OdP0L3yZBJB9+VmhyqUuvnrLAshH0kds01yd0nw=="}]},"maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yr.no-forecast_2.1.0_1523571793316_0.9786320627538576"},"_hasShrinkwrap":false}},"readme":"yr.no-forecast\n==============\n\n![TravisCI](https://travis-ci.org/evanshortiss/yr.no-forecast.svg) [![npm version](https://badge.fury.io/js/yr.no-forecast.svg)](https://badge.fury.io/js/yr.no-forecast) [![Coverage Status](https://coveralls.io/repos/github/evanshortiss/yr.no-forecast/badge.svg?branch=master)](https://coveralls.io/github/evanshortiss/yr.no-forecast?branch=master)\n\nWrapper to easily get weather data for a specified location in JSON format. Uses [yr.no-interface](https://github.com/evanshortiss/yr.no-interface) under the\nhood. See the API docs at [yr.no](http://api.yr.no/weatherapi/locationforecast/1.9/documentation).\n\n\n## Usage\nUse the ```getWeather(queryParams)``` function to get a\nLocationForecast object by calling the \"locationforecast\" API.\n\nHere's an example:\n\n\n```js\nconst yrno = require('yr.no-forecast')({\n  version: '1.9', // this is the default if not provided,\n  request: {\n    // make calls to locationforecast timeout after 15 seconds\n    timeout: 15000\n  }\n});\n\nconst LOCATION = {\n  // This is Dublin, Ireland\n  lat: 53.3478,\n  lon: 6.2597\n};\n\nyrno.getWeather(LOCATION)\n  .then((weather) => {\n    // Get general weather for next five days (Array with five objects)\n    weather.getFiveDaySummary()\n      .then((data) => console.log('five day summary', data));\n\n    // Get a weather data point for a given time between now and 9 days ahead\n    weather.getForecastForTime(new Date())\n      .then((data) => console.log('current weather', data));\n  })\n  .catch((e) => {\n    console.log('an error occurred!', e);\n  });\n```\n\n## API\n\n### module(config)\nThis module exports a single factory function that can be used to get a\nconfigured `instance` that exports the `getWeather` function.\n\nCurrently supported config options:\n\n* version - Passed when making a call to the met.no API to select the\nlocationforecast version to call\n* request - Can be populated with options for the `request` module. The only\nsetting that you should need to pass is `timeout` and is demonstrated above\n\n\n### instance.getWeather(params[, version])\nReturns a Promise that will resolve with a `LocationForecast` object that\ncontains functions to get weather data. You can pass the version parameter if\nyou want to override the default of 1.9, or the default you supplied when\ncreating and instance.\n\n### LocationForecast.getFiveDaySummary()\nReturns a Promise that resolves to an Array of 5 weather data Objects.\n\n### LocationForecast.getForecastForTime(time)\nReturns a Promise that resolves to a weather data Object that is closest to the\nprovided `time` argument. The `time` argument will be passed to `moment.utc` so\nmany time formats will work, but a millisecond timestamp or ISO formatted date\nstring are both ideal options to use use.\n\n### LocationForecast.getXml()\nReturns the raw XML string that the `locationforecast` API returned.\n\n### LocationForecast.getJson()\nReturns the JSON representation of the entire `locationforecast` response.\n\n### LocationForecast.getFirstDateInPayload()\nReturns the first date string that is available in the data returned from the\nlocationforecast call.\n\n### LocationForecast.getValidTimes()\nReturns an Array of ISO timestamps that represent points in time that we have\nweather data for.\n\n\n## Weather JSON Format\n\nSome fields will be undefined depending on the weather conditions. Always\nverify the field you need exists, e.g use `data.hasOwnProperty('fog')` or\nsimilar techniques.\n\n```json\n{\n  \"datatype\": \"forecast\",\n  \"from\": \"2017-04-18T03:00:00Z\",\n  \"to\": \"2017-04-18T03:00:00Z\",\n  \"icon\": \"PartlyCloud\",\n  \"rain\": \"0.0 mm\",\n  \"altitude\": \"0\",\n  \"latitude\": \"59.8940\",\n  \"longitude\": \"10.6450\",\n  \"temperature\": {\n    \"id\": \"TTT\",\n    \"unit\": \"celsius\",\n    \"value\": \"-0.9\"\n  },\n  \"windDirection\": {\n    \"id\": \"dd\",\n    \"deg\": \"14.6\",\n    \"name\": \"N\"\n  },\n  \"windSpeed\": {\n    \"id\": \"ff\",\n    \"mps\": \"1.5\",\n    \"beaufort\": \"1\",\n    \"name\": \"Flau vind\"\n  },\n  \"windGust\": {\n    \"id\": \"ff_gust\",\n    \"mps\": \"2.4\"\n  },\n  \"humidity\": {\n    \"value\": \"78.3\",\n    \"unit\": \"percent\"\n  },\n  \"pressure\": {\n    \"id\": \"pr\",\n    \"unit\": \"hPa\",\n    \"value\": \"1030.1\"\n  },\n  \"cloudiness\": {\n    \"id\": \"NN\",\n    \"percent\": \"15.4\"\n  },\n  \"fog\": {\n    \"id\": \"FOG\",\n    \"percent\": \"0.0\"\n  },\n  \"lowClouds\": {\n    \"id\": \"LOW\",\n    \"percent\": \"15.4\"\n  },\n  \"mediumClouds\": {\n    \"id\": \"MEDIUM\",\n    \"percent\": \"0.8\"\n  },\n  \"highClouds\": {\n    \"id\": \"HIGH\",\n    \"percent\": \"0.0\"\n  },\n  \"dewpointTemperature\": {\n    \"id\": \"TD\",\n    \"unit\": \"celsius\",\n    \"value\": \"-4.5\"\n  }\n}\n```\n\n## CHANGELOG\n\nCan be found [at this link](https://github.com/evanshortiss/yr.no-forecast/blob/master/CHANGELOG.md ).\n","maintainers":[{"name":"evanshortiss","email":"evanshortiss@gmail.com"}],"time":{"modified":"2022-06-29T08:16:23.684Z","created":"2013-11-09T01:15:45.299Z","0.0.1":"2013-11-09T01:15:47.637Z","0.0.2":"2013-11-09T01:25:33.096Z","0.0.3":"2013-11-12T17:29:16.864Z","0.0.4":"2013-11-18T10:43:39.995Z","0.0.5":"2014-05-27T09:32:26.754Z","0.0.51":"2014-07-02T11:23:04.720Z","0.0.6":"2014-07-02T11:25:53.652Z","0.0.7":"2014-09-26T16:17:38.251Z","1.0.0":"2017-04-27T06:11:07.252Z","1.0.1":"2017-04-28T01:07:00.242Z","2.0.0":"2017-05-25T15:41:22.487Z","2.1.0":"2018-04-12T22:23:13.514Z"},"author":{"name":"Evan Shortiss"},"repository":{"type":"git","url":"git+https://github.com/evanshortiss/yr.no-forecast.git"},"homepage":"https://github.com/evanshortiss/yr.no-forecast#readme","keywords":["yr.no","api","met","weather","Meteorologisk","NRK","yr","no","met.no","api.met.no","forecast"],"bugs":{"url":"https://github.com/evanshortiss/yr.no-forecast/issues"},"license":"MIT","readmeFilename":"README.md"}