Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Node.js Blueprints
  • Table Of Contents Toc
Node.js Blueprints

Node.js Blueprints

By : Krasimir Stefanov Tsonev
4.7 (10)
close
close
Node.js Blueprints

Node.js Blueprints

4.7 (10)
By: Krasimir Stefanov Tsonev

Overview of this book

A straightforward, practical guide containing step-by-step tutorials that will push your Node.js programming skills to the next level. If you are a web developer with experience in writing client-side JavaScript and want to discover the fascinating world of Node.js to develop fast and efficient web and desktop applications, then this book is for you.
Table of Contents (14 chapters)
close
close
13
Index

Exploring the required modules

We will use several modules to make our life easier, which are listed as follows:

  • fs: This gives us access to the filesystem, and is a built-in feature of the Node.js module.
  • optimist: This is a module that parses the parameters passed to our Node.js script.
  • readline: This allows the reading of a stream (such as process.stdin) on a line-by-line basis. We will use it for getting input from the user while our application is still running. The module is added in Node.js by default.
  • glob: This module reads a directory and returns all the existing files that match a predefined specific pattern.
  • open: At some point, we will need to open a page in the user's default browser. Node.js runs on different operating systems that have different commands to open the default browser. This module helps us by providing one API.
  • flapi: This is the Flickr API wrapper used to communicate with Flickr's services.

Based on the preceding list, we can write and use the following...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Node.js Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon