adding package.json for 'npm install'

Not sure if this is of interest to you. If it is, perhaps you'd consider publishing to npm as well.