Rino.js
Fast learning, preprocessing, intuitive web framework.
Rino.js is created to fix the complexity matters of web framework.
Installation
The recommended way to start your Rino project:
npm create rino@latest
For manual setup:
npm i rinojs
Notice
Release version v3.0.0
Rino.js version 3 focuses on faster builds, cleaner generated output, and clearer template syntax. This is
rino-importreplacesrino-pathfor component and markdown imports.rino-pathis no longer supported.
<component rino-import="/common/header" rino-tag="header"></component>
<script rino-type="markdown" rino-import="/docs/getting-started"></script>
- Inline styles and scripts can now be exported from generated pages and components with
rino-export. Exported inline tags are removed from the final HTML and written into generated/stylesor/scriptsfiles. Duplicates will be ignored.
<style rino-export="/site.css">
.example {
display: block;
}
</style>
<script rino-export="/site.js">
console.log("exported javascript");
</script>
<script rino-export="/site.ts" type="text/typescript">
const message: string = "exported typescript";
console.log(message);
</script>
- Development serving and server-side rendering now serve a committed in-memory distribution instead of rebuilding on every request. File changes are mapped to the affected build scopes, then the memory snapshot is replaced after a successful rebuild.
- Template JavaScript and TypeScript execution is faster. Rino.js now reuses an isolated child-process runner instead of creating a new child process for every template script tag.
Test
Use the included test project scripts for local checks:
npm test
npm run test-generate
npm run test-sitemap
npm run test-feed
npm run test-ssr
npm run test-dev
npm run test-backoffice
Documentation
Support Rino!
Become a Sponsor
Sponsors
Author
License
MIT, See LICENSE.