Skip to content

Commit

Permalink
Add mod.ts for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken committed Sep 4, 2021
1 parent 792129e commit 4081813
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"source.fixAll.eslint": true
},
"javascript.validate.enable": false,
"typescript.validate.enable": false,
"[javascript]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const { Float16Array, isFloat16Array, getFloat16, setFloat16, hfround } = requir
You can get modules from [deno.land/x](https://deno.land/x/float16) hosting service.

```ts
import { Float16Array, isFloat16Array, getFloat16, setFloat16, hfround } from "https://deno.land/x/float16/index.mjs";
import { Float16Array, isFloat16Array, getFloat16, setFloat16, hfround } from "https://deno.land/x/float16/mod.ts";
```

### Browser
Expand Down
1 change: 1 addition & 0 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./src/index.mjs";

0 comments on commit 4081813

Please sign in to comment.