Skip to content

Franklin

  • Text
    • Hardware
  • Code
  • Contact

node.js

Node.js: Simple fetch() timeout
Posted in
  • Code

Node.js: Simple fetch() timeout

2023-04-032025-12-020

This code snippet tells `fetch()` to abort the request when it takes longer than the specified amount of time. It is only one line!

Before exit scripts in Node.js
Posted in
  • Code

Before exit scripts in Node.js

2015-09-252025-12-020

Ever wonder how to do something just before a Node.js process ends? Safely close connections, clean up caches, or log your app’s status somewhere? With this script you can do it.

Looping busy indicator
Posted in
  • Code

Looping busy indicator

2015-08-212025-12-020

Javascript code snippet for node.js to display a looping busy indicator on the console output

Process iCloud PhotoStream in real-time
Posted in
  • Code

Process iCloud PhotoStream in real-time

2014-03-162025-12-030

Process PhotoStream uploads in real-time with node.js and iCloud on Mac OSX.

Copyright © 2026 Franklin.
Powered by WordPress and HybridMag.
  • Text
    • Hardware
  • Code
  • Contact