1.0.0 • Published 7 years ago

prop-tc39 v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

prop-tc39

Scraping microservice for TC39 proposals 😸

Website

  • /: Serves an HTML page with every proposal in the TC39 pipeline.
  • /finished: Serves an HTML page with stage 4 proposals in the TC39 pipeline.
  • /active: Serves an HTML page with stage 1, stage 2, and stage 3 proposals in the TC39 pipeline.
  • /proposed: Serves an HTML page with stage 0 proposals in the TC39 pipeline.

Web API

  • /proposals: Returns a JSON object with every proposal in the TC39 pipeline.
  • /proposals/finished: Returns a JSON object with stage 4 proposals in the TC39 pipeline.
  • /proposals/active: Returns a JSON object with stage 1, stage 2, and stage 3 proposals in the TC39 pipeline.
  • /proposals/proposed: Returns a JSON object with stage 0 proposals in the TC39 pipeline.

Package API

  • prop.fetchAll(done) - Invokes done(err, proposals) with every proposal in the TC39 pipeline.
  • prop.fetchFinished(done) - Invokes done(err, proposals) with stage 4 proposals in the TC39 pipeline.
  • prop.fetchActive(done) - Invokes done(err, proposals) with stage 1, stage 2, and stage 3 proposals in the TC39 pipeline.
  • prop.fetchProposed(done) - Invokes done(err, proposals) with stage 0 proposals in the TC39 pipeline.

Screenshot

License

MIT