{"library":"rest-bundle","type":"library","category":null,"description":"RestBundle is a JavaScript base class for creating reusable REST resource bundles that plug into Node.js Express applications. Version 1.1.0 is the current stable release, with a low release cadence. It provides a way to encapsulate related REST endpoints as a class with auto-generated handlers, and integrates with Vue.js 2 and Vuex for state management. Unlike plain Express routers, RestBundle offers a structured approach with resource methods and a state model, making it suitable for developers building modular API services. However, it has dependencies on Vue.js and Vuex, which may not be desirable for non-Vue projects.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","REST","resource bundle","express","kinann-org"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-bundle","imports":["const RestBundle = require('rest-bundle')","class MyRest extends RestBundle { ... }","require('./mixins/rb-api-mixin.js')"]},{"cmd":"yarn add rest-bundle","imports":[]},{"cmd":"pnpm add rest-bundle","imports":[]}],"homepage":"https://github.com/kinann-org/rest-bundle","github":"https://github.com/kinann-org/rest-bundle","docs":null,"changelog":null,"pypi":null,"npm":"rest-bundle","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}