0.5.5 • Published 9 years ago
micro-crud v0.5.5
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`
})