-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename files used to exports API to more standardized
namespace Signed-off-by: Jérôme Benoit <[email protected]>
- Loading branch information
1 parent
e94ee4c
commit 07069b9
Showing
9 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,13 +72,14 @@ Bun versions >= 1.x are supported. | |
<script type="module"> | ||
import { | ||
... | ||
} from 'https://cdn.jsdelivr.net/npm/[email protected]/src/cli.mjs' | ||
} from 'https://cdn.jsdelivr.net/npm/[email protected]/src/index.mjs' | ||
</script> | ||
``` | ||
|
||
## Example | ||
|
||
```js | ||
// adapt import to the targeted JS runtime | ||
import { baseline, bench, clear, group, run } from 'tatami-ng'; | ||
|
||
bench('noop', () => {}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,13 @@ | |
"license": "MIT", | ||
"version": "0.3.4", | ||
"packageManager": "[email protected]", | ||
"types": "./src/cli.d.ts", | ||
"main": "./src/cli.mjs", | ||
"browser": "./src/cli.mjs", | ||
"types": "./src/index.d.ts", | ||
"main": "./src/index.mjs", | ||
"browser": "./src/index.mjs", | ||
"exports": { | ||
"types": "./src/cli.d.ts", | ||
"import": "./src/cli.mjs", | ||
"browser": "./src/cli.cjs" | ||
"types": "./src/index.d.ts", | ||
"import": "./src/index.mjs", | ||
"browser": "./src/index.mjs" | ||
}, | ||
"description": "cross javascript runtime benchmarking library", | ||
"homepage": "https://github.com/poolifier/tatami-ng#readme", | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters