1.2.0 • Published 9 years ago

spyrojs v1.2.0

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

SpyroJS

Introductionary note

Please read the following readme while listening to this

An interesting JavaScript utility library

Ever felt like you couldn't be asked to do an assignment for a course given someplace, somewhere taught by a little purple dragon? If you miraculously said yes to the previous, this is the library for you!

How to use

Include SpyroJS using:

var spyro = require('spyrojs');

If you managed to follow us this far, our pattented code review process (FuckItShipItâ„¢) has granted you the following magical powers (warning, powers might not be magical, or powers at all):

spyro.http(<httpPort>, <wsPort>);

Runs the http part of SpyroJS at the given httpPort, and will provide links using the given wsPort

spyro.ws(<wsPort>);

Runs the websocket part of SpyroJS at the given port.

spyro.fuckIt(<httpPort>, <wsPort>);

Too lazy to call the two other functions? Bro, we got you covered.

spyro.fuckEverything();

Too lazy to even try to figure out what ports to use. FUCK IT, here you go.