pip
pipes2js
npm i pipes2js
pip

pipes2js

Compile Yahoo! Pipes to Javascript (Node.js)

by Eric Abouaf

0.0.1 (see all)TypeScript:Not Found
npm i pipes2js
Readme

pipes2js

Compile Yahoo! Pipes to Javascript (Node.js)

Design

This tool lets you import Yahoo! Pipes and run them on any machine with Node.js.

The pipe is converted to a javascript file, called decider.js, which controls the execution logic of the workflow.

Each Yahoo module is coded as a separate Javascript module.

  • The pipe can be executed localy through a simple run engine (called by the generated run.js)
  • or executed on Amazon SimpleWorkflow (SWF)
  • The rsulting modules can be used for other Amazon SWF projects through the aws-swf library

Installation

$ [sudo] npm install -g pipes2js

Usage

Import the pipe :

$ pipes2js xOE_1Z8C3RGmkQrul7okhQ

This will create a pipes/xOE_1Z8C3RGmkQrul7okhQ/ directory, which contains an npm package. The resulting package depends on the pipes2js package. Let's install it :

$ cd pipes/xOE_1Z8C3RGmkQrul7okhQ/
$ npm install .

You can then run it :

$ node run.js

More

Current module implementations

EXPERIMENTAL: Running imported pipes on Amazon SimpleWorkflow (SWF)

Tests

Run tests :

npm test

will perform :

vows --spec modules/*/test.js tests/*

build status

Credits

Inspired by pipe2py

Downloads/wk

0

GitHub Stars

44

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.0.1
latest
7yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate