1.0.1 • Published 3 years ago

statapigen v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Static api generator (alpha)

How to

Add some data into unit.json with such model:

[
  {
    "body": "# | 3 | #",
    "metadata": {
      "title": "3d model of monument"
    },
    "stats": ["game", "3D", "acitech", "walk", "@beastful"]
  },
  {
    "body": "-+-+-",
    "metadata": {
      "title": "Plus"
    },
    "stats": ["plus", "math", "geometry", "@voxel"]
  }
]

Then run npm run build generated api will be awailable in ./dist/api.

Warning!

NEVER EVER EVER EVER edit /api folder by yourself!

Delition and editing are coming soon...