Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
app.js
package-lock.json
package.json

README.md

node-text-api

This is an example Node API using express, body-parser, and to-zalgo. More details can be found as a blog post

You can run this example by cloning the repo and running npm start

Endpoints

  • /magic-8-ball
    • Returns {"prediction": "<random_prediction>"}, where <random_prediction> is randomly chosen from the standard Magic 8-Ball replies
  • /to-zalgo
    • Input: `{"text": "your text here"}
    • Returns: {"code": 200, "original": "your text here", "zalgo": "zalgo-ified text"}
You can’t perform that action at this time.