Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SatvikVejendla authored Feb 26, 2021
1 parent 1b21821 commit 30e2b84
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,17 @@ const NeuralNetwork = require('neural-network-node')

### Browser

Coming soon...
Browser support is finally here!

To get started, create a script such as that follows in order to import the module from static hosting:

```
<script type="module">
import { Standard } from "https://unpkg.com/neural-network-node@1.2.9/src/html/index.js";
</script>
```

Once you're done with this, you can access the imported classes at any time in any of the script files. HOWEVER, you have to make sure to import the correct class. Ex: import {Standard}. If you're using DFF, then change this to import {DFF}.

# Quick Start Standard

Expand Down

0 comments on commit 30e2b84

Please sign in to comment.