@mcrowe/post-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Post API

Impossibly easy node api framework

Usage

npm install @mcrowe/post-api --save

import api from 'post-api'

const controller = {
  hello() {
    return 'ok'
  }
}

api(3000, controller)

Development

Install npm modules:

npm install

Run tests:

npm test

Release

Release a new version:

bin/release.sh

This will publish a new version to npm, as well as push a new tag up to github.

Readme

Keywords

none

Package Sidebar

Install

npm i @mcrowe/post-api

Weekly Downloads

1

Version

0.0.3

License

ISC

Last publish

Collaborators

  • mcrowe