This is the development build of the Peer Browser API.
Import the API in your application:
<script type="module">
import { init, query, publish } from 'https://static-dev.peernet.space/peernet.js';
// Initialize the API
await init();
// Use reactive queries
const signal = query(state => state.todos || []);
</script>
/peernet.js - Main API bundle/peernet.js.map - Source mapThis is a development build with no caching. Every request fetches the latest version.
For production use, see static.peernet.space