1.0.0 • Published 7 years ago

wpw v1.0.0

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

Wpp

What is Wpp

Wpp stands for WritingPromptPipeline, which is a tool that serves a much larger purpose. The idea is that another app, which has a cronjob, runs this pipeline in order to extract the newest writing prompts from /r/writingprompts.

Usage

I tried to simplify this as much as possible, so each file serves one and one purpose only. Starting the pipeline is as easy as:

const pipeline = require('pipeline')

pipeline.start()

the pipeline takes over and extracts the 20 newest writing prompts, cleans them and returns them. The cronjob app has another pipeline where the cleaned responses are stored in a database.

Contributing

Any ideas or corrections -> open issue :D

Author

Oscar Elizondo