Skip to content

Commit

Permalink
docs: Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
szkiba committed Mar 31, 2024
1 parent 0bfd692 commit 79b5872
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ xk6-ts can be disabled by setting the `XK6_TS` environment variable to `false`.
```bash
k6 run script.ts
```
- remote (https) TypeScript/JavaScript module support
```js
import { User } from 'https://example.com/user.ts'
console.log(new User())
```
- importing JSON files as JavaScript object
```js
import object from './example.json'
Expand Down

0 comments on commit 79b5872

Please sign in to comment.