Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr authored Oct 24, 2024
1 parent 5a66d3e commit 22d10b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ package name: `@notemine/wrapper`
<summary>pnpm</summary>

```bash
pnpm install notemine
pnpm install @notemine/wrapper
```
</details>

<details>
<summary>yarn</summary>

```bash
yarn install notemine
yarn install @notemine/wrapper
```
</details>

## usage
_untested_

```typescript
import Notemine from "notemine"
import Notemine from "@notemine/wrapper"

//prepare meta for event
const content = "hello world."
Expand Down Expand Up @@ -77,7 +77,7 @@ notemine.success$
<script lang="ts">
import { onMount } from 'svelte';
import { type Writable, writable } from 'svelte/store'
import { type ProgressEvent, Notemine } from 'notemine';
import { type ProgressEvent, Notemine } from '@notemine/wrapper';
const numberOfMiners = 8
let notemine: Notemine;
Expand Down Expand Up @@ -137,7 +137,7 @@ notemine.success$

```reactjs
import React, { useEffect } from 'react';
import { Notemine } from 'notemine';
import { Notemine } from '@notemine/wrapper';
const MyComponent = () => {
const notemine = new Notemine({ content: 'Hello, Nostr!' });
Expand Down Expand Up @@ -177,7 +177,7 @@ notemine.success$
<script lang="ts">
import { defineComponent, onMounted, onUnmounted } from 'vue';
import { Notemine } from 'notemine';
import { Notemine } from '@notemine/wrapper';
export default defineComponent({
name: 'MinerComponent',
Expand Down

0 comments on commit 22d10b9

Please sign in to comment.