micro-crud

0.5.5 • Public • Published

micro-crud

Usage

Provide crud with a resource name, endpoint, and optional headers. Get back a ligthweight micro server with GET, POST, PUT, PATCH, DELETE support.

const crud = require('micro-crud')

module.exports = crud('users', 'https://website.com/api/users', {
  authorization: `token secretKey`
})

Readme

Keywords

none

Package Sidebar

Install

npm i micro-crud

Weekly Downloads

1

Version

0.5.5

License

MIT

Last publish

Collaborators

  • tylersnyder