megane-viewer 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
<a href="https://github.com/hodakamori/megane/actions/workflows/ci.yml"><img src="https://github.com/hodakamori/megane/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
10
10
|
<a href="https://pypi.org/project/megane/"><img src="https://img.shields.io/pypi/v/megane" alt="PyPI" /></a>
|
|
11
|
-
<a href="https://www.npmjs.com/package/megane"><img src="https://img.shields.io/npm/v/megane" alt="npm" /></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/megane-viewer"><img src="https://img.shields.io/npm/v/megane-viewer" alt="npm" /></a>
|
|
12
12
|
<a href="https://github.com/hodakamori/megane/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License" /></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<a href="https://hodakamori.github.io/megane/">Docs</a> ·
|
|
17
17
|
<a href="https://hodakamori.github.io/megane/getting-started">Getting Started</a> ·
|
|
18
18
|
<a href="https://pypi.org/project/megane/">PyPI</a> ·
|
|
19
|
-
<a href="https://www.npmjs.com/package/megane">npm</a>
|
|
19
|
+
<a href="https://www.npmjs.com/package/megane-viewer">npm</a>
|
|
20
20
|
</p>
|
|
21
21
|
|
|
22
22
|
<p align="center">
|
|
@@ -45,7 +45,7 @@ pip install megane
|
|
|
45
45
|
### npm (for React embedding)
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
npm install megane
|
|
48
|
+
npm install megane-viewer
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
## Quick Start
|
|
@@ -75,7 +75,7 @@ megane serve # upload from browser
|
|
|
75
75
|
### React
|
|
76
76
|
|
|
77
77
|
```tsx
|
|
78
|
-
import { MeganeViewer, parseStructureFile } from "megane";
|
|
78
|
+
import { MeganeViewer, parseStructureFile } from "megane-viewer";
|
|
79
79
|
|
|
80
80
|
function App() {
|
|
81
81
|
const [snapshot, setSnapshot] = useState(null);
|