Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
35
network-poc/frontend/node_modules/tinyclip/README.md
generated
vendored
Normal file
35
network-poc/frontend/node_modules/tinyclip/README.md
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# tinyclip 📋
|
||||
|
||||
A tiny cross-platform clipboard library. Uses native OS clipboard functionality on Node.js.
|
||||
|
||||
> [!NOTE]
|
||||
> In the browser, you can use the native [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API) instead of a dependency.
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install tinyclip
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import {readText, writeText} from 'tinyclip';
|
||||
|
||||
await writeText('hello world');
|
||||
const text = await readText();
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### `readText(): Promise<string>`
|
||||
|
||||
Reads text from the clipboard.
|
||||
|
||||
### `writeText(text: string): Promise<void>`
|
||||
|
||||
Writes text to the clipboard.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](./LICENSE)
|
||||
Reference in New Issue
Block a user