sunpig + node   29

Node.js, Require and Exports
Back when I first started playing with node.js, there was one thing that always made me uncomfortable. Embarrassingly, I'm talking about module.exports. I say embarrassingly because it's such a fundamental part of node.js and it's quite simple. In fact, looking back, I have no idea what my hang up was...I just remember being fuzzy on it. Assuming I'm not the only one who's had to take a second, and third, look at it before it finally started sinking in, I thought I could do a little write up.
node  nodejs  require  exports  module  commonjs  load  js  javascript  server 
5 weeks ago by sunpig
A better console.log | Guillermo Rauch's Devthought
Have been looking for this .js console.log with file + line number - otherwise can be painful to find again
node  from twitter_favs
9 weeks ago by sunpig

related tags

ajax  ala  alistapart  amazon  argument  async  aws  badge  bdd  browser  bug  build  buildpack  callback  capistrano  cedar  client  closure  cloud  code  coffeescript  collaboration  command  commonjs  controller  create  custom  ddollar  deploy  deployment  development  deveopment  dhh  documentwrite  dom  dynamic  ebook  ec2  env  epub  es  etherpad  event  exports  fashion  flickr  fogcreek  foreman  framework  frontend  gilesbowkett  git  github  global  google  harmony  heroku  hosting  hotness  html  http  import  importnode  init  install  isaacs  isaacschlueter  jamesburke  jasmine  javascript  joel  jquery  js  json  language  library  linux  load  loader  local  loop  management  manager  manifest  masteringnode  measure  measurement  merge  mocha  model  module  mongo  monitor  monitoring  munin  mvc  nest  nesting  nginx  nicholaszakas  node  node.js  nodejs  node_modules  npm  opensource  optimization  osx  package  parse  pdf  performance  platform  process  procfile  programming  proxy  publish  python  rails  realtime  remove  remysharp  require  routing  ruby  ryandahl  s3  scm  script  server  serverside  setup  sharejs  simonwillison  sleep  slicehost  software  sourcecontrol  speed  stack  start  tag  tdd  tech  test  testing  tjholowaychuk  tools  tower  travis  trello  tutorial  twitter  v8  version  virtualserver  wave  web  webdev  webkit  webpage  websockets  while  widget  wpo  xhtml  xml  yahoo  yslow  yui  yui3 

Copy this bookmark:



description:


tags: