Skip to content

Commit

Permalink
Add demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-w committed Mar 16, 2024
1 parent 2b5e7a5 commit e328fa7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ quantifies each query in a vacuum.
npm i sqomplexity
```

## Demo
https://bert-w.github.io/sqomplexity/

## Usage
### Execution in Node
```js
Expand Down
2 changes: 2 additions & 0 deletions examples/browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

const result = await command.run(queries);

console.log(result);

// Result: [ 7.876953, 10.001953 ]
})();
</script>
2 changes: 2 additions & 0 deletions examples/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ import { Sqomplexity } from 'sqomplexity';

const result = await command.run(queries);

console.log(result);

// Result: [ 7.876953, 10.001953 ]
})();

0 comments on commit e328fa7

Please sign in to comment.