Intro to Node.js: There’s a Module for That!
Jamison Prianos, Accusoft Software Development Manager, SaaS
Welcome back to our introductory blog series on Node.js. If you’re just joining us today, be sure to check out our previous post on what makes Node.js so popular. Today, we’re going to tackle modules.
Are you familiar with the saying, “there’s an app for that”? Well, with Node.js, there’s a module for basically everything that you might consider doing, aside from whatever your value add is. If you want to develop a certain product, all of the support and tools you need to build it are there, you just build your logic. Below we’ll talk a little bit more about the built-in and open source packages available with Node.js.
Node.js has built-in packages that don’t require external libraries. These built-in packages are made for common tasks involving:
- Cryptography – Node includes a very robust crypto library. All of the basics are there so you can build a solid encryption in your system and encrypt your own data if you’re not sending it over SSL natively.
- Event-Driven Actions – If you’ve ever done any event-driven programming, know that it’s native in node. There are a lot of built-in libraries that help you write better event-driven applications.
- HTTP and HTTPS Servers – You can have HTTP(S) servers without introducing external libraries.
- File Systems – Node.js allows you to work with the file system.
- Data Streaming – Stream data, whether it’s over a network, file system, or some other kind of pipe that’s built in.
- Networking and Sockets – If you need networking and sockets—from the bare bones layers all the way up to HTTP protocols and SSL layers—that’s all built directly into Node with no external libraries.
Open Source Packages
When it comes to Node.js, it’s all in the modules. For the most part, this platform offers all that you need to build your product, you just have to add your logic. Eager to learn more? Stay tuned for our next post in the series where we’ll talk about what makes Node.js different and when you shouldn’t use it.
Jamison Prianos is a Software Development Manager in the SaaS division of Accusoft Corporation. In addition to coordinating engineering efforts for his teams, Jamison acts as an evangelist for solid Node development patterns and specifically microservices both within and outside of Accusoft, while also holding on to actual development work for dear life.