Comment

Comment by dc-tech-fan

NPM Modules:

mongodb

async - no more insane levels of nested indents when doing async javascript

express - middleware

ejs - templating system

logging - very simple logging module i wrote more than a year ago when there weren't good logging modules for Node yet.

knox - for storing doodles and static assets on S3

uglify-js - compress that client-side javascript

stylus - much nicer way to write css. variables, functions, mixins, etc.

everyauth - authentication - supports more than we could ever want but we're just exposing Facebook and Twitter for now.

useragent - we only support modern browsers, sorry IE users!

shortid - module I created to give us very short unique ids that are not guessable for chain sharing, like http://doodleordie.com/c/Eih5TDOHk or http://doodleordie.com/c/1hODyac94#1to4

moment - nice time references, like "7 days ago"

canvas - we render doodles on the server and then save those pngs instead of accepting pngs from the browser because people figured out they could send us any image they wanted.

ansi - doodles above a certain number of brush strokes we convert to ansi and echo in our console log. This is my favorite feature of the whole site, especially because I got my start in online communities in the 2400 Baud BBS world when ANSI art ruled.

parent dc-tech-fan 14 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton