Skip to content

Instantly share code, notes, and snippets.

View PaulAndCode's full-sized avatar
🦍
Longback

Paul Liu PaulAndCode

🦍
Longback
View GitHub Profile
@PaulAndCode
PaulAndCode / .gitignore
Created March 30, 2017 11:13 — forked from smebberson/.gitignore
Express simple authentication example
node_modules
*.swp
/**
* Merge defaults with user options
* @private
* @param {Object} defaults Default settings
* @param {Object} options User options
* @returns {Object} Merged values of defaults and options
*/
var extend = function ( defaults, options ) {
var extended = {};
var prop;