Tag: “nodejs
  • Cleaner NPM Scripts with Better-Npm-Run
    BeginnerDoes your package.json’s script section look like this: { "name": "better-npm-run", "version": "0.1.0", "private": true, "dependencies": { "react": "^16.3.0", "react-dom": "^16.3.0", "react-scripts": "1.1.1" }, "scripts": { "start": "react-scripts start", "build:dev": "NODE_ENV=dev react-scripts build --flagone --flagtwo --flagthree", "build:prod": "NODE_ENV=production react-scripts...
  • How to take screenshots of webpages with Node.js
    BeginnerHave you ever wonder how you can take screenshot of webpages programmatically? I certainly did.  I wanted to periodically monitor changes on a webpage and didn’t want to do it by hand everyday. Being the lazy programmer that I...
  • Lock Down Your Node Modules With NPM Shrinkwrap
    BeginnerThe Problem with non-deterministic dependencies You set up a new Node JS project, installed your dependencies with npm install and your app runs smoothly.  A week later, you decided to share your awesome project with your colleagues or friends, they...
  • Using Docker to deploy Apache, Nginx, WordPress and Nodejs containers with Digital Ocean
    AdvancedIn this tutorial, we will walk through how to quickly create containers to run Apache, Nginx, WordPress and Nodejs servers all on a single $5/month Digital Ocean droplet! What is Docker? For a general introduction to docker, I recommend...
Loading...