Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
christianschmitz committed Nov 28, 2022
1 parent bbf8efa commit a548b06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/api/setup.md
Expand Up @@ -5,18 +5,18 @@ The Helios library is platform agnostic and can be used in many different ways.
## Webpage `script` tag

```html
<script src="https://helios.hyperion-bt.org/0.8.0/helios.js" type="module" crossorigin></script>
<script src="https://helios.hyperion-bt.org/0.9.2/helios.js" type="module" crossorigin></script>
```

## Module with CDN URL

Helios can be imported as a module using our CDN. This is supported by [Deno](https://deno.land) and most modern browsers:

```js
import * as helios from "https://helios.hyperion-bt.org/0.8.0/helios.js"
import * as helios from "https://helios.hyperion-bt.org/0.9.2/helios.js"

// or only the necessary parts (recommended as you get more acquainted with the library)
import { Program } from "https://helios.hyperion-bt.org/0.8.0/helios.js"
import { Program } from "https://helios.hyperion-bt.org/0.9.2/helios.js"
```

Alternatively you can use `"helios"` as a placeholder for the URL and, if not using any builder-tools, specify the module URL in an [importmap](https://github.com/WICG/import-maps) (currently only supported by Chrome):
Expand All @@ -31,7 +31,7 @@ import * as helios from "helios"
<script type="importmap">
{
"imports": {
"helios": "https://helios.hyperion-bt.org/0.8.0/helios.js"
"helios": "https://helios.hyperion-bt.org/0.9.2/helios.js"
}
}
</script>
Expand All @@ -50,7 +50,7 @@ $ npm i @hyperionbt/helios
Or install a specific version:

```bash
$ npm i @hyperionbt/helios@0.8.0
$ npm i @hyperionbt/helios@0.9.2
```

In your javascript file:
Expand Down

0 comments on commit a548b06

Please sign in to comment.