Node.js Icon

Node.js

Node.js is a tool for executing JavaScript in a variety of environments.
145 Stories
All Topics

David Mark Clements Smashing Magazine

Keeping Node.js fast

David Mark Clements shares tools, techniques, and tips for making high-performance Node.js servers in this super deep post on Smashing Magazine: The surging popularity of Node.js has exposed the need for tooling, techniques and thinking suited to the constraints of server-side JavaScript. When it comes to performance, what works in the browser doesn’t necessarily suit Node.js. So, how do we make sure a Node.js implementation is fast and fit for purpose? Let’s walk through a hands-on example.

read more...

Node.js github.com

An improved debugging experience for Node, enabled by Chrome DevTools

The big question with tools like these is, what can I do with it? Child processes are detected and attached to. You can place breakpoints before the modules are required. You can edit your files within the UI. On Ctrl-S/Cmd-S, DevTools will save the changes to disk. By default, ndb blackboxes all scripts outside current working directory to improve focus. And more.

read more...

Casper Beyer Medium

Is the internet at the mercy of a handful of developers?

In this post from Casper Beyer titled The Node.js Ecosystem Is Chaotic and Insecure, he cites examples like left-pad, is-odd, is-number — and goes on to say the way to be responsible with dependencies is... ...don’t trust package managers, every dependency is written by some random developer somewhere in the world and is a potential attack vector. ... Is this being too paranoid? Perhaps, or maybe it’s the healthy amount considering the massive reach these trivial packages can have. While this focuses on Node.js, the lessons learned apply anywhere you have dependencies in your code.

read more...

Justin Sisley github.com

mostly – a full stack web app starter kit built on Node.js

mostly's purpose is to serve as a lightweight, easy-to-comprehend starting point, with a focus on providing a great developer experience while helping you get high quality and maintainable web applications deployed rapidly. It uses Express for the server and React for the client. Worth a look if you're starting up a new web project. I dig this point about it: Nothing is hidden, nothing is magical, and all of the "plumbing" is accessible and simple.

read more...

Node.js hackernoon.com

A crash course on Serverless with Node.js

If you've heard of serverless' virtues, but have never taken that first step toward trying it out, this crash course is for you. Here's how you might feel by the end: What a journey. You have now witnessed the transition from traditional web development into the serverless revolution. With these simple tools we now have everything we need to create awesome, scalable, and reliable applications. In my humble opinion, this is all still too much work for most of us to go through. AWS needs some serious competition in this space. Said competition is undoubtedly on the way.

read more...

Steven Loria github.com

Making the Node.js REPL more productive

Project-specific REPLs for Node.js I'm a bit surprised this functionality isn't in the box, nonetheless: local-repl saves you from typing out imports every time you open a new Node.js REPL. You specify the modules and objects that you want to automatically import in either package.json or .replrc.js. It also lets you use await in the REPL without wrapping your code in async functions. That sounds quite nice.

read more...

Slack github.com

Slack's desktop app bogging you down? Here's a speed-focused alternative.

A cross-platform, open source Slack app that's built for speed?! Shut up and take my money admiration! Wey is written in Node and the UI is powered by the Yue library, which means it's not hitchin' its wagon to Electron. But it does come with a rather large caveat: Do not use this for work, you might miss important messages due to bugs and missing features. Depending on how much you like your job, you might consider that more of a feature than a bug. 😉

read more...

Node.js meowni.ca

Automatic visual diffing with Puppeteer

Monica Dinculescu: I did a little song-and-dance that sets up Puppeteer , takes screenshots of your app (like, all the routes you care about), and then compares them to the “golden” ones. If they match, your test passes! It only works with Chrome (because Puppeteer), but that's not a big deal since this is the kind of thing you only put in your devDependencies. The results are super cool in your test suite output:

read more...

Node.js github.com

Zenbot

a command-line cryptocurrency trading bot using Node.js and MongoDB. This is on version 4, so a boat load of effort has been invested in this tool. In light of that, I find this statement from their README funny and somewhat sad: Zenbot 4 is functional, but is having trouble reliably making profit. At this point, I would recommend against trading with large amounts ...

read more...

Arunesh Chandra Avatar Gaurav Seth Avatar Spotlight #13

Node at Microsoft, ChakraCore, and VM Neutrality

In this episode of The Future of Node series recorded at Node Interactive 2016 Adam talked with Gaurav Seth (Lead Program Manager of Chakra & TypeScript) and Arunesh Chandra (Program Manager of ChakraCore) about the backstory of Node at Microsoft, their polite fork of Node to introduce the community to ChakraCore (the high-performance JavaScript engine that powers Microsoft Edge), why Microsoft is so interested in Node, the future of Chakra and ChakraCore, VM neutrality, and more.

read more...

Mikeal Rogers Avatar Spotlight #12

Node.js Backstory and Future with Mikeal Rogers

In this episode of The Future of Node series recorded at Node Interactive 2016 Adam talked with Mikeal Rogers about the backstory of Node over the past few years to get to where we are today. We talked about io.js (the fork of Node), what's happened in the community and the code since that time frame, how The Node.js Foundation has helped to solidify the foundation on which the Node ecosystem is being built on, initiatives and focuses in the near future, and more.

read more...
0:00 / 0:00