Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-naria2

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-naria2 - npm Package Compare versions

Comparing version 0.0.9-beta.3 to 0.0.9-beta.4

11

package.json
{
"name": "vite-plugin-naria2",
"version": "0.0.9-beta.3",
"description": "Vite naria2 intergration",
"version": "0.0.9-beta.4",
"description": "Vite naria2 integration",
"keywords": [

@@ -13,3 +13,4 @@ "aria2",

"typescript",
"vite"
"vite",
"vite-plugin"
],

@@ -48,4 +49,4 @@ "homepage": "https://github.com/yjl9903/naria2#readme",

"type-fest": "^4.1.0",
"@naria2/node": "0.0.9-beta.3",
"naria2": "0.0.9-beta.3"
"@naria2/node": "0.0.9-beta.4",
"naria2": "0.0.9-beta.4"
},

@@ -52,0 +53,0 @@ "devDependencies": {

@@ -6,2 +6,4 @@ # vite-plugin-naria2

Make it easy to debug a aria2 client application.
## Installation

@@ -16,2 +18,4 @@

```ts
// vite.config.ts
import { defineConfig } from 'vite';

@@ -24,3 +28,3 @@

plugins: [
TopLevelAwait(),
TopLevelAwait(), // Used for transforming the top-level await syntax
Naria2({

@@ -38,4 +42,19 @@ childProcess: {

Use the aria2 child process in your application code.
```ts
// main.ts
import { socket, client } from '~naria2/jsonrpc';
console.log('naria2 socket:', socket);
console.log('naria2 client:', client);
```
> **Warning**
>
> The aria2 child process only created in your development so that these exported variables will be `undefined` in production.
## License
MIT License © 2023 [XLor](https://github.com/yjl9903)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc