Skip to content

60 Second Dev

60 second software development tutorials and demos, and short blog posts.

  • Blog

60 Second Dev

60 second software development tutorials and demos, and short blog posts.

  • Blog

60 Second Dev

60 second software development tutorials and demos, and short blog posts.

Tag: nodejs

2021-08-172022-05-13javascript

NPM Package Location

Global libraries You can run npm list -g to see where global […]

2021-08-172022-05-13javascript

NodeJS Prompt

Sometimes you just need a simple terminal application that requests user input. […]

2021-06-232022-01-13javascript

Handlebars in NodeJS

“use strict”; (function() { const handlebars = require(“handlebars”); const source = “{{ […]

2021-06-222022-01-13javascript

GZip with Pako

GZip is a super-fast compression technique, usable anywhere. In javascript, you can […]

2021-06-102022-01-12nodejs

SHA hash in NodeJS

const crypto = require(“crypto”);const filename = process.argv[2];const fs = require(“fs”); const hash […]

2021-05-132022-01-09javascript

NodeJS Request

“use strict”;const fs = require(“fs”);const request = require(“request”);// Simple GETrequest(“http://localhost:14519/Test/GetHtml”, (err, resp, […]

2021-04-262022-01-08javascript

NodeJS read/write text files

“use strict”;(function() { var fs = require(“fs”); var readline = require(“readline”); fs.readFile(“input.json”, […]

2021-04-262022-01-08javascript

NodeJS Read/Write Files

const fs = require(“fs”);const readline = require(“readline”);// Read full filefs.readFile(“myfile.txt”, { encoding: […]

2020-12-312022-01-09javascript

NodeJS Line Reader

Sometimes I’ll get a text file to parse, where it’s too big […]

2020-12-302022-01-09javascript

TypeScript in NodeJS

It doesn’t take much to set up TypeScript in NodeJS. TypeScript’s type […]

.net ajax asp.net async authentication aws azure batch brotli c# cloud cryptography css csv deno dependency injection email entity framework exif guid gzip html images javascript jquery json linq linux mercurial mustache mvc nodejs pdf records scss serialization smtp sqlite sql server strings temporal tables typescript windows wsl xml

If you learned something today

Buy Me a Coffee

© 2022 60 Second Dev. Proudly powered by Sydney