Submit templates for repl.it/templates here.

← Back to all posts
CROSIS STARTER TEMPLATE
h
Coder100 (17102)

CROSIS

Crosis is an awesome API way to use repls!

Docs

Homepage
API key
Methods

HAPPY CODING!!

Please vote up if you liked it!!!

Comments
hotnewtop
AmazingMech2418 (1039)

Just a question, why do you need a websocket if this is an API? Websockets are only useful for live client-server communication, given that both are in the same domain, but this is an API which doesn't need that. It just might be a way to reduce the size of the repl. Also, fetch can be replaced with http.get or https.get (you can use a try catch to test both) which are also native node modules, so they don't take up any extra space..

Coder100 (17102)

We sockets are used by crosis using the Global object from what I could tell and I like fetch :) @AmazingMech2418