Skip to content

Commit

Permalink
Add install description
Browse files Browse the repository at this point in the history
  • Loading branch information
juunini committed Jan 7, 2023
1 parent bf6a7bf commit 0de107c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,23 @@ Using [glTF-Transform](https://github.com/donmccurdy/glTF-Transform) and [webp-c
## Install

```bash
# If you want to use CLI
npm install --global gltf-optimizer

# npm
npm install gltf-optimizer

# yarn
yarn add gltf-optimizer

# pnpm
pnpm add gltf-optimizer

# bun
bun add gltf-optimizer

# If you install and use browser side
cp node_modules/gltf-optimizer/src/draco3d/* ./<your_static_path>/
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gltf-optimizer",
"version": "0.3.3",
"version": "0.3.4",
"description": "Optimize glTF model",
"homepage": "https://github.com/juunini/gltf-optimizer",
"repository": "juunini/gltf-optimizer",
Expand Down

0 comments on commit 0de107c

Please sign in to comment.