Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 849 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 849 Bytes

node-code

I am a collection of high level Node code.

Objective

This repo has some high level, generic, node code that can be helpful for bootstrapping node development.

Classes

/utils/Email.js

A SUPER simple emailing class dependent on the great NPM module 'emailjs'

/utils/ErrorHandler.js

A basic ErrorHandler class that when used, should be expanded upon.

/utils/Logger.js

A logging abstraction class that uses the NPM module 'winston'.

/utils/Utils.js

Various functions helpful in Node development.

faye/FayeService.js

A starting point for using the GREAT NPM module 'Faye'. It has the server creation and broadcasting functions all in this one class. I love faye.

cron/CronScript.js

An example of running a node script as a child process as a cron job.

ClassTemplate.js

A template for node classes.