Latest node.js Code Snippets

Popular / Snippets

sean created a Page  -  Sep 14, 2014

Below is a very simple example of how to create a basic websocket using node.js. Websockets are great for maintaining a server/client relationship without as much of the overhead of HTTP web traffic. Today, websockets are used to build a magnitude of browser-based real-time applications (live chats, multiplayer games). Basically it's a persistent connection between the server and client in which both..

PennyBreed created a Page  -  Mar 17, 2014
1 329 

A little node.js server to scrape latest screenshot links and descriptions from your Steam profile, and output a JSON object.

sean created a Page  -  Feb 24, 2014

Setting up a GET endpoint in Express is straight forward. However, creating a POST endpoint took a little research as the data posted to the endpoint isn't readily available without some intervention.

Hawkee created a Page  -  May 10, 2012

This is the server side component to my jQuery @mention autocomplete plugin. It simply queries mySQL with a wildcard matching the term sent by jQuery. You'll need to modify the query to match your own schema.

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.