apport

Request helper

Usage no npm install needed!

<script type="module">
  import apport from 'https://cdn.skypack.dev/apport';
</script>

README

Apport

Apport provides helpers for accessing and using HTTP APIs.

Usage

Given this folder structure:

apps
  users
    api
  groups
    api
  roles
    api

Then when using apport like this:

var apport = require('apport');

var api = apport.api(process.cwd() + '/apps');

The api object will contain the structure of the /api folders.