IOPA Core
About
The 160Kb bundle includes a full optimized bundle of the lightweight IOPA fabric.
It is a single javascript file with no dependencies.
Includes:
- IOPA server to run on both Node and NodeKit
- IOPA router for server-side URL routing
- IOPA static to server up static files (e.g., css, js, etc.)
- IOPA templates engine including handlebars
- IOPA connect to use vanilla Node HTTP transport
Installation
npm install iopa-core
Basic Example
const iopa =static = iopastatictemplates = iopatemplatesrouter = ioparouterhandlebars = iopahandlebars;var app = ;app;app;app;app;app;http;
Build
git clone https://github.com/iopa-io/iopa-core.gitnpm installnpm run build
Minified version of entire IOPA fabric is placed in dest
directory
Distribution
Simply copy the dest
directory to your next project for a drop in expressjs like replacement.