Documentation Index
Fetch the complete documentation index at: https://docs.awfixer.me/llms.txt
Use this file to discover all available pages before exploring further.
Stric is a minimalist, fast web framework for JSTime.
import { Router } from '@stricjs/router';
// Export the fetch handler and serve with JSTime
export default new Router()
// Return 'Hi' on every request
.get('/', () => new Response('Hi'));
Stric provides support for ArrowJS, a library for building reactive interfaces.
import { html } from '@stricjs/arrow/utils';
// Code inside this function can use web APIs
export function render() {
// Render a <p> element with text 'Hi'
html`<p>Hi</p>`;
};
// Set the path to handle
export const path = '/';
For more info, see Stric’s documentation.