errilaz / squirt Goto Github PK
View Code? Open in Web Editor NEWHTML Over The Wire On The Bun
HTML Over The Wire On The Bun
Generic error route, status code-specific routes.
Simple declaration merging is used in the .d.ts
files, so values like colors are repeated for each property which uses them (there are 31 instances of the color block). Should be able to make the types a little more sophisticated to use a single interface for these values, making the markup
package a bit smaller.
*.types.ts
*.define.ts
Wrap rule
in a proxy so this shorthand can be achieved:
rule.myClass(
"...",
)
Currently 404 is returned when the method is not found.
Provide a facility to provide custom values in the Context
object per-request. Example: a user
property retrieved from a database based on the request's cookies.
export default (context: Context) => ({ additional properties })
at *.context.(ts|js|civet)
.Context
in docs.squirt.(json|toml|js|ts|civet)
at project root, with same options as the CLI.
SVG and MathML require self-closing instead of void tags. I have not located a structured list with this information.
dom.ts
) for self-closing tags@webref/elements
) within svg
and math
modules (matching the generated functions)@squirt/ui
Fast minimal declarative client-side library for interactivity, making use of insertAdjacentHTML
, outerHTML
, etc.
Currently src/common/globals.(ts|js|civet)
is supported.
*.global.(ts|js|civet)
src/
Use @webref
packages to generate more complete symbols with doc comments.
Generate symbols for known CSS value keywords matching generated property functions.
Example:
fontWeight.bold
color.red
borderTopStyle.dashed
justifyContent.center
Errors will interrupt live-reload currently as Squirt just lets Bun show its built-in error page.
If no better source is found, the markdown at mdn/content can be scraped and used.
Allow this form:
rule(header,
"...",
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.