<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Clients on backd</title><link>https://fernandezvara.github.io/backd/docs/clients/</link><description>Recent content in Clients on backd</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://fernandezvara.github.io/backd/docs/clients/index.xml" rel="self" type="application/rss+xml"/><item><title>JavaScript client</title><link>https://fernandezvara.github.io/backd/docs/clients/js/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://fernandezvara.github.io/backd/docs/clients/js/</guid><description>&lt;p&gt;&lt;code&gt;backd-js&lt;/code&gt; is a small JavaScript library for &lt;code&gt;backd&lt;/code&gt;. It is plain ES modules with no dependencies and no build step, and it runs wherever &lt;code&gt;fetch&lt;/code&gt; does: browsers, Node 20+, Deno, Bun and edge runtimes. It ships TypeScript declarations, so editors autocomplete it in JavaScript and TypeScript projects alike.&lt;/p&gt;
&lt;h2 id="install"&gt;Install&lt;a class="hd-anchor" href="#install" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm install backd-js
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It has no dependencies, needs no build step and works with any bundler. Without one, import it in a browser with an &lt;a href="https://developer.mozilla.org/docs/Web/HTML/Element/script/type/importmap"&gt;import map&lt;/a&gt; pointing at the package&amp;rsquo;s &lt;code&gt;src/index.js&lt;/code&gt; (from a CDN such as &lt;code&gt;https://cdn.jsdelivr.net/npm/backd-js/src/index.js&lt;/code&gt;, or from your own server), as the &lt;a href="#example-app"&gt;example app&lt;/a&gt; does.&lt;/p&gt;</description></item></channel></rss>