Navigation Menu

Skip to content

nodezoo/nodezoo-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo-nodezoo

nodezoo-updater

Nodezoo.com micro-service handling npm data. Please see the main repo for more details.

Install

  1. Clone this repo into a root /nodezoo folder.
  2. Run npm install

Starting

To start simply run,

npm start

Tagging and Logs

To tag your service and set up logs simply pass the relevant switches on start,

npm start -- --seneca.options.tag=nodezoo-npm-update --seneca.log.all

Inbound Messages

This micro-service listens for the following messages:

  • role:npm,cmd:registrySubscribe
  • role:npm,cmd:registryUnsubscribe
  • role:npm,cmd:registryDownload

Outbound Messages

This micro-service emits no outbound messages.

Running with Curl

Any of the messages above can be run using curl in the following format in the command line

curl -d '{"role":"npm","cmd":"registrySubscribe"}' http://localhost:44005/act

Note: Ports are assigned automatically, please check the logs for the correct port to use.

Contributing

The NodeZoo org encourages open and safe participation. ​

  • Code of Conduct ​ If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch. ​

License

Copyright (c) 2015-2016, Richard Rodgers and other contributors. Licensed under MIT.