Nix

Nix is a library for create APIs fast. You need... a unique file if you want.

IT'S FAST

speed

Installing

npm install -g nix-api
1

Getting start

using gif

If you run the command here:

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

1
2
3
4
5
6
7
8

Run

nix
1

You will receive

GET: cookie
GET: myFolder/person
GET: myFolder/toRead
GET: myFolder/subFolder/anything
GET: myFolder/subFolder/home
1
2
3
4
5

Open this URL in the browser: http://localhost:3000/

Or go to: http://localhost:3000/cookie