Skip to content

SpiralOSS/starfederation.datastar

 
 

Repository files navigation

Datastar

Real-time Hypermedia first Library and Framework

How to include on page

<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>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 33.9%
  • Go 27.7%
  • CSS 21.5%
  • templ 8.9%
  • PHP 3.2%
  • F# 3.2%
  • Other 1.6%