Node.js Module for adding settings methods to an object