mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-19 19:17:15 +02:00
feat(plugins): use @tauri-apps namespace on NPM (#368)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
co-authored by
Amr Bashir
parent
caf8456864
commit
22991af9f4
@@ -37,7 +37,7 @@ type ClipResponse = Clip<"PlainText", string>;
|
||||
* Writes plain text to the clipboard.
|
||||
* @example
|
||||
* ```typescript
|
||||
* import { writeText, readText } from 'tauri-plugin-clipboard-api';
|
||||
* import { writeText, readText } from '@tauri-apps/plugin-clipboard';
|
||||
* await writeText('Tauri is awesome!');
|
||||
* assert(await readText(), 'Tauri is awesome!');
|
||||
* ```
|
||||
@@ -65,7 +65,7 @@ async function writeText(
|
||||
* Gets the clipboard content as plain text.
|
||||
* @example
|
||||
* ```typescript
|
||||
* import { readText } from 'tauri-plugin-clipboard-api';
|
||||
* import { readText } from '@tauri-apps/plugin-clipboard';
|
||||
* const clipboardText = await readText();
|
||||
* ```
|
||||
* @since 1.0.0.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "tauri-plugin-clipboard-api",
|
||||
"name": "@tauri-apps/plugin-clipboard",
|
||||
"version": "0.0.0",
|
||||
"license": "MIT or APACHE-2.0",
|
||||
"authors": [
|
||||
|
||||
Reference in New Issue
Block a user