Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@enhance/arc-plugin-enhance
Advanced tools
adds file based routing to arc.codes with enhance.dev server rendered custom elements
@enhance-dev/arc-plugin-enhance
adds file based routing to arc.codes with enhance.dev server rendered custom elements
app
├── api ............. api routes
├── elements ........ custom elements named-like-this
└── pages ........... custom elements that map to routes (eg. /about renders about.mjs)
├── about.mjs
├── index.html
└── notes
├── $id.mjs
└── index.mjs
file based routing using leading $
for dynamic parameters reasoning
$
is safe on windows and linux UNLESS its trailing in which case thats a hidden file in windows:
is illegal in windows file paths*
will expand in various system shells creating ambiguity.
is meaningful in system shells (current dir) and completions with ..
and/or ...
creates ambiguitycurrently we need to generate an .arc file with a fair bit of 'required' configuration; it would be good to move this into the plugin and allow userland to override as neccessary
@http
automatically; userland should still be able to override themselves@static
params like fingerprint
@views
params like src
(but they can override and remap later if they need to)@table
for begin/data (but they could add their own tables later)FAQs
This Architect plugin customizes a default [Architect](https://arc.codes) project to add file based routing and server rendered Custom Elements.
The npm package @enhance/arc-plugin-enhance receives a total of 107 weekly downloads. As such, @enhance/arc-plugin-enhance popularity was classified as not popular.
We found that @enhance/arc-plugin-enhance demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.