Skip to content

Commit

Permalink
Documentation tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr15m committed May 25, 2022
1 parent c8dd592 commit 8bc27a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Maintained by Chris McCormick.

# Library

You can use the jsxfr library to play sounds in your JavaScript game code.
You can use the jsxfr library to generate and play sounds in your JavaScript game code.

## Node

Expand All @@ -26,7 +26,7 @@ npm i chr15m/jsfxr
Require it:

```
const SoundEffect = require("jsfxr").SoundEffect;
const sfxr = require("jsfxr").sfxr;
```

See [API](#API) below for usage examples.
Expand All @@ -40,7 +40,7 @@ Include the scripts in your page:
<script src="https://sfxr.me/sfxr.js"></script>
```

You can then directly use the `SoundEffect`, `Params` etc.
You can then directly use the `sfxr` namespace without requiring it.

## API

Expand Down

0 comments on commit 8bc27a3

Please sign in to comment.