Writing Composable SQL using Knex and Pipelines
https://lackofimagination.org/2024/11/writing-composable-sql-using-knex-and-pipelines/
We have used a query builder to programmatically build SQL queries, and by using higher-order functions (functions that take other functions as arguments) and pipelines, we have:
Eliminated the need to pass the query object explicitly.
Made it easier to add, remove, or rearrange query modifiers without disrupting the overall structure.
Improved maintainability and simplified testing since each query modifier function is a self-contained unit that can be reused across various queries and scenarios.
@wasmer/sdk adds Node.js and Bun support · Blog · Wasmer
https://wasmer.io/posts/wasmer-js-sdk-now-supports-node-and-bun
Today we are incredibly excited to announce full support for Node.js/Bun in @wasmer/sdk, after one member of our community asked about it on Wasmer’s Discord a few weeks ago.
The Nine Node Pillars - Platformatic HQ
https://www.platformatichq.com/node-principles
To share our insights, we've created the Nine Node Pillars– nine guiding principles for creating robust, scalable, and maintainable Node applications in enterprise environments.This guide can be used as a checklist to identify gaps in your current practices and prioritize areas for improvement.
Set default node version with NVM – Eric Binnion
https://eric.blog/2016/08/23/set-default-node-version-with-nvm/
I was recently figuring out how to use nvm, and one thing that stood out to me is that I needed to set the default version of node that I wanted to use when opening a new tab.
Set default node version with NVM – Eric Binnion
https://eric.blog/2016/08/23/set-default-node-version-with-nvm
I was recently figuring out how to use nvm, and one thing that stood out to me is that I needed to set the default version of node that I wanted to use when opening a new tab.
Neon: Node + Rust = 💖
http://calculist.org/blog/2015/12/23/neon-node-rust/
I’ve been working on Neon, a set of APIs and tools for making it super easy to write native Node modules in Rust.
Neon: Node + Rust = 💖
http://calculist.org/blog/2015/12/23/neon-node-rust
I’ve been working on Neon, a set of APIs and tools for making it super easy to write native Node modules in Rust.
600k concurrent websocket connections on AWS using Node.js - Jayway
http://www.jayway.com/2015/04/13/600k-concurrent-websocket-connections-on-aws-using-node-js/
I recently faced the challenge to get as much power as possible out of a AWS EC2 instance at the lowest possible cost using concurrent persistent websockets.
600k concurrent websocket connections on AWS using Node.js - Jayway
http://www.jayway.com/2015/04/13/600k-concurrent-websocket-connections-on-aws-using-node-js
I recently faced the challenge to get as much power as possible out of a AWS EC2 instance at the lowest possible cost using concurrent persistent websockets.
Ronin - Toolkit for building shining CLI programs with Node.js
http://vdemedes.github.io/ronin/
Automatically builds commands based on project structure
Ronin - Toolkit for building shining CLI programs with Node.js
http://vdemedes.github.io/ronin
Automatically builds commands based on project structure
Passwordless - A node.js/express module for token-based logins
https://passwordless.net/
Passwords are broken. Inspired by Justin Balthrop's article Passwords are Obsolete token-based one-time password (OTPW) authentication is faster to deploy, better for your users, and more secure.
Passwordless - A node.js/express module for token-based logins
https://passwordless.net
Passwords are broken. Inspired by Justin Balthrop's article Passwords are Obsolete token-based one-time password (OTPW) authentication is faster to deploy, better for your users, and more secure.
gulp-front-matter
https://www.npmjs.org/package/gulp-front-matter
Extract front-matter header from files
Real-Time Chat With Node.js' Readline & Socket.io - Tuts+ Code Tutorial
http://code.tutsplus.com/tutorials/real-time-chat-with-nodejs-readline-socketio--cms-20953
Node.js has an under-appreciated module in its standard library that is surprisingly useful. The Readline module does what it says on the box: it reads a line of input from the terminal. This can be used to ask the user a question or two, or to create a prompt at the bottom of the screen. In this tutorial, I intend to show off the capability of Readline and make a real-time CLI chatroom backed by Socket.io. The client will not only send simple messages, but have commands for emotes with /me, private messages with /msg, and allow for nicknames to be changed with /nick.
An open-source web server with built-in pre-processing – Harp
http://harpjs.com/
Harp serves Jade, Markdown, EJS, CoffeeScript, LESS and Stylus as HTML, CSS & JavaScript—no configuration necessary. It makes front-end development a treat.
An open-source web server with built-in pre-processing – Harp
http://harpjs.com
Harp serves Jade, Markdown, EJS, CoffeeScript, LESS and Stylus as HTML, CSS & JavaScript—no configuration necessary. It makes front-end development a treat.
Hexo - Node.js blog framework
http://zespia.tw/hexo/
A fast, simple & powerful blog framework, powered by Node.js.
Hexo - Node.js blog framework
http://zespia.tw/hexo
A fast, simple & powerful blog framework, powered by Node.js.
Create a Google Talk bot with Node.js: Part One | Simon Holywell - Web developer in Brighton
http://simonholywell.com/post/2013/02/create-a-node-js-google-talk-bot-pt1.html
Programming a chat bot was once the domain of the hardcore hacker tapping packets as they passed over the wire from proprietary client applications to closed source servers, but not any more!
baudehlo/Haraka · GitHub
https://github.com/baudehlo/Haraka
Haraka is an SMTP server which uses a plugin architecture to implement most of its functionality. It uses a highly scalable event model to be able to cope with thousands of concurrent connections. Plugins are written in Javascript using Node.js, and as such perform extremely quickly. The core Haraka framework is capable of processing thousands of messages per second on the right hardware.
෴ browserver: a node.js HTTP server in your browser ෴
http://browserver.org/
Hello! I've got some good news for you: your web browser has just been upgraded to a web server. It's responding to HTTP requests on the Internet as you read this.
෴ browserver: a node.js HTTP server in your browser ෴
http://browserver.org
Hello! I've got some good news for you: your web browser has just been upgraded to a web server. It's responding to HTTP requests on the Internet as you read this.
Building a Text-Based UI with Backbone and Charm
http://tobyho.com/2012/07/19/backbone-charm-text-based-ui/
Building a Text-Based UI with Backbone and Charm
http://tobyho.com/2012/07/19/backbone-charm-text-based-ui
Tom Gallacher's Blog - How to install Node.js on your Raspberry Pi;
http://blog.tomg.co/post/21322413373/how-to-install-node-js-on-your-raspberry-pi
Disclaimer: I am not a unix god, and pretty much hacked this together to get working (and it does for me), so a more concise method might appear, so I you do find one let me know, also if you break your PI it is not my fault =] .
goodeggs/fibrous
https://github.com/goodeggs/fibrous
Easily mix asynchronous and synchronous programming styles in node.js
Unit testing in node.js
http://caolanmcmahon.com/posts/unit_testing_in_node_js
Lets walk through a basic node.js program using Test Driven Developement (TDD) and nodeunit. This program asks the user to enter a number, doubles it and returns the result.
Benvie/Node.js-Ultra-REPL - GitHub
https://github.com/Benvie/Node.js-Ultra-REPL
Starting with Node's built in REPL, add in a completely redone inspect formatter, actual functioning separate V8 contexts, keybindings to create, switch, and delete between them, combine it with a bunch of color. ULTRA REPL
A tweet filtering proxy with Node.JS: Part 1 | Guillermo Rauch's Devthought
http://www.devthought.com/2012/01/24/filtering-tweets-for-your-favorite-client-with-node-js/
The technique I’m going to describe consists in setting up a proxy to the Twitter API that lives in our computer, powered by Node.JS, that filters back responses based on arbitrary rules we setup. Not only does this give us the flexibility of using JavaScript, but it also means it will work with any Twitter client that leverages the API transparently. Yes, this includes the Twitter website!
A tweet filtering proxy with Node.JS: Part 1 | Guillermo Rauch's Devthought
http://www.devthought.com/2012/01/24/filtering-tweets-for-your-favorite-client-with-node-js
The technique I’m going to describe consists in setting up a proxy to the Twitter API that lives in our computer, powered by Node.JS, that filters back responses based on arbitrary rules we setup. Not only does this give us the flexibility of using JavaScript, but it also means it will work with any Twitter client that leverages the API transparently. Yes, this includes the Twitter website!
The rise and rise of JavaScript « DanNorth.net
http://dannorth.net/2011/12/19/the-rise-and-rise-of-javascript
JavaScript had a difficult childhood. It grew up in lawless neighbourhoods surrounded by gangs. It spent a lot of time listening to its parents fighting with one another about what they wanted it to be when it grew up. As any young language would, it tried hard to please its parents (and that barmy committee of uncles, and all the other random people trying to shape its future). As a result it suffers from what can only be described as behavioural quirks. Depending on which gang it’s hanging out with it will sometimes happily talk to you through its console.log, at other times refuse to say anything, and yet other times it will blow up in your face (but not tell you why).
the node.js aesthetic :: The Universe of Discord
http://substack.net/posts/b96642
I would like to document an emerging set of programming conventions, philosophies, and values that I see evolving in the node.js community. I call this the node aesthetic.
Leftronic goes true Real-Time with Node.js and Redis Pub/Sub! - Leftronic Blog
http://blog.leftronic.com/leftronic-goes-true-real-time-with-nodejs-and
We have several Django servers behind an EC2 load balancer, as well as a few Celery boxes, a RabbitMQ box, a Node.js box, and a Redis box.
Setting up a Node.js development environment with NPM and Cloud9 IDE installed locally - Cambus.net
http://www.cambus.net/setting-up-a-node-js-development-environment-with-npm-and-cloud9-ide-installed-locally
In this tutorial, you will learn how to setup a complete Node.js development environment, including NPM (the Node Package Manager) and Cloud9 IDE to edit, run, and debug Node programs. The following installation instructions have been sucessfully tested on Debian 6.0 “Squeeze” and on Ubuntu 11.10 “Oneiric Ocelot”, but they should also work properly on previous versions as well.
nodejitsu/haibu - GitHub
https://github.com/nodejitsu/haibu
a node.js application server - spawn your own node.js clouds, on your own hardware
hij1nx/weld - GitHub
https://github.com/hij1nx/weld
Simple. Weld binds data to markup, and can generate markup based on your data. There's NO special syntax or data reshaping required. It works in the browser and in node.js! Weld is currently 3.66Kb uglified with no dependencies other than a valid DOM. Weld will apply values to elements the way that elements expect to have their values set.
Cluster - extensible multi-core server management for nodejs
http://learnboost.github.com/cluster
extensible multi-core server management for nodejs.
Node.JS and the WebSocket protocol « Devthought
http://devthought.com/blog/2009/12/nodejs-and-the-websocket-protocol
"After reading Simon Willison’s post on Node.JS, I decided I’d give it a try myself. Today I released node.websocket.js"