1.0.12 • Published 5 years ago

nix-api v1.0.12

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Nix is a library for create APIs fast. You need nothing to create a api. The reason to create this is the boring process to create a simple api, i need make this be simple.

IT'S FAST

speed

Installing

npm install -g nix-api

Getting Started

using gif

If you run the command here:

|_cookie.json
|_myFolder/
  |_person.json
  |_toRead.md
  |_subFolder/
    |_anything.js
    |_home.html

Run

nix

You will receive

GET: cookie
GET: myFolder/person
GET: myFolder/toRead
GET: myFolder/subFolder/anything
GET: myFolder/subFolder/home

Go to localhost:PORT/GET_PATH

Mega Ultra Super Advanced

ArgumentDescription
-p, --portSet a custom port to api

Contributing

  • Fork this project
  • Create a branch with your-name/your-feature
  • Make a pull request
  • Be happy