Skip to content

Commit

Permalink
bump to v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 6, 2025
1 parent fae2270 commit 0d973e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# node-webgpu - dawn.node
# webgpu - dawn.node

Provides webgpu to node

Expand All @@ -9,13 +9,13 @@ it on npm.
## Usage

```
npm install --save node-webgpu
npm install --save webgpu
```

Then in your code

```js
import { create, globals } from 'node-webgpu';
import { create, globals } from 'webgpu';

Object.assign(globalThis, globals);
const navigator = { gpu: create([]) };
Expand Down
2 changes: 1 addition & 1 deletion example/example.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'node:fs';
import { PNG } from 'pngjs';
import { create, globals } from 'node-webgpu';
import { create, globals } from 'webgpu';

Object.assign(globalThis, globals);
const navigator = { gpu: create([]) };
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-webgpu",
"version": "0.0.8",
"name": "webgpu",
"version": "0.2.0",
"description": "WebGPU for node",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 0d973e2

Please sign in to comment.