Real-time Hypermedia first Library and Framework
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar/bundles/datastar.js"></script>
If you just want the core and add your own plugins
but how do I add my own plugins?
<script type="importmap">
{
"imports": {
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar/datastar/bundles/datastar-core.js"
}
}
</script>
<script type="module">
import {Datastar} from 'datastar'
Datastar.load(
// all my preprocessor, action and attribute plugins!
)
</script>