-
learn to use response.on data.toString to make object response a string to print.
-
learned process.argv function to input names in the console to give the user a custom response to her/his inputs
-
learned to alert for parsing errors
-
learned to write try.catch error msgs.
-
learned to account for and translate status codes for the user.
-
Download this repo using your terminal:
git clone node-apis
cd node-apis
-
Run one of these terminal-based applications:
type node file-name.js write the info you are searching for here
Ex: node weather.js Portland_OR
There are no known bugs as of the last commit. Please send an ISSUE on github in the repository if you see something I have not.
For questions or comments, please email Kyle here.
- Node.js
Copyright (c) 2016 Kyle Lange
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.