@resvg/resvg-js
Advanced tools
Comparing version 2.5.0 to 2.6.0
{ | ||
"name": "@resvg/resvg-js", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "A high-performance SVG renderer and toolkit, powered by Rust based resvg and napi-rs", | ||
@@ -137,17 +137,17 @@ "main": "index.js", | ||
}, | ||
"packageManager": "yarn@3.6.3", | ||
"packageManager": "yarn@3.6.4", | ||
"optionalDependencies": { | ||
"@resvg/resvg-js-win32-x64-msvc": "2.5.0", | ||
"@resvg/resvg-js-darwin-x64": "2.5.0", | ||
"@resvg/resvg-js-linux-x64-gnu": "2.5.0", | ||
"@resvg/resvg-js-linux-x64-musl": "2.5.0", | ||
"@resvg/resvg-js-linux-arm64-gnu": "2.5.0", | ||
"@resvg/resvg-js-win32-ia32-msvc": "2.5.0", | ||
"@resvg/resvg-js-linux-arm-gnueabihf": "2.5.0", | ||
"@resvg/resvg-js-darwin-arm64": "2.5.0", | ||
"@resvg/resvg-js-android-arm64": "2.5.0", | ||
"@resvg/resvg-js-android-arm-eabi": "2.5.0", | ||
"@resvg/resvg-js-linux-arm64-musl": "2.5.0", | ||
"@resvg/resvg-js-win32-arm64-msvc": "2.5.0" | ||
"@resvg/resvg-js-win32-x64-msvc": "2.6.0", | ||
"@resvg/resvg-js-darwin-x64": "2.6.0", | ||
"@resvg/resvg-js-linux-x64-gnu": "2.6.0", | ||
"@resvg/resvg-js-linux-x64-musl": "2.6.0", | ||
"@resvg/resvg-js-linux-arm64-gnu": "2.6.0", | ||
"@resvg/resvg-js-win32-ia32-msvc": "2.6.0", | ||
"@resvg/resvg-js-linux-arm-gnueabihf": "2.6.0", | ||
"@resvg/resvg-js-darwin-arm64": "2.6.0", | ||
"@resvg/resvg-js-android-arm64": "2.6.0", | ||
"@resvg/resvg-js-android-arm-eabi": "2.6.0", | ||
"@resvg/resvg-js-linux-arm64-musl": "2.6.0", | ||
"@resvg/resvg-js-win32-arm64-msvc": "2.6.0" | ||
} | ||
} |
@@ -12,2 +12,6 @@ # resvg-js | ||
**๐ ๐[Sponsoring me](#sponsor)** | ||
> Your sponsorship means a lot to me. It will help me sustain my projects actively and make more of my ideas come true. Much appreciated! | ||
## Features | ||
@@ -27,2 +31,8 @@ | ||
## Sponsor | ||
Alipay(ๆฏไปๅฎ) | ||
<img width="260" src="https://user-images.githubusercontent.com/2784308/275749798-dcecb901-6a44-46f6-aab3-98635664719e.jpeg"> | ||
## Installation | ||
@@ -73,5 +83,5 @@ | ||
| SVG | PNG | | ||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| <img width="500" src="example/text.svg"> | <img width="500" src="example/text-out.png"> | | ||
| SVG | PNG | | ||
| ---------------------------------------- | -------------------------------------------- | | ||
| <img width="500" src="example/text.svg"> | <img width="500" src="example/text-out.png"> | | ||
@@ -118,5 +128,5 @@ ## Usage | ||
```shell | ||
bun example/index.js | ||
``` | ||
```shell | ||
bun example/index.js | ||
``` | ||
@@ -165,3 +175,3 @@ ### Deno | ||
<script> | ||
(async function () { | ||
;(async function () { | ||
// The Wasm must be initialized first | ||
@@ -222,16 +232,16 @@ await resvg.initWasm(fetch('https://unpkg.com/@resvg/resvg-wasm/index_bg.wasm')) | ||
| | Node.js 12 | Node.js 14 | Node.js 16 | Node.js 18 | npm | | ||
| ---------------- | ---------- | ---------- | ---------- | ---------- | --- | | ||
| Windows x64 | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-win32-x64-msvc.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-win32-x64-msvc) | | ||
| Windows x32 | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-win32-ia32-msvc.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-win32-ia32-msvc) | | ||
| Windows arm64 | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-win32-arm64-msvc.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-win32-arm64-msvc) | | ||
| macOS x64 | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-darwin-x64.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-darwin-x64) | | ||
| macOS arm64(M1) | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-darwin-arm64.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-darwin-arm64) | | ||
| Linux x64 gnu | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-x64-gnu.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-x64-gnu) | | ||
| Linux x64 musl | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-x64-musl.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-x64-musl) | | ||
| Linux arm gnu | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-arm-gnueabihf.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-arm-gnueabihf) | | ||
| Linux arm64 gnu | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-arm64-gnu.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-arm64-gnu) | | ||
| Linux arm64 musl | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-arm64-musl.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-arm64-musl) | | ||
| Android arm64 | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-android-arm64.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-android-arm64) | | ||
| Android armv7 | โ | โ | โ | โ |[![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-android-arm-eabi.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-android-arm-eabi) | | ||
| | Node.js 12 | Node.js 14 | Node.js 16 | Node.js 18 | npm | | ||
| ---------------- | ---------- | ---------- | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| Windows x64 | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-win32-x64-msvc.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-win32-x64-msvc) | | ||
| Windows x32 | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-win32-ia32-msvc.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-win32-ia32-msvc) | | ||
| Windows arm64 | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-win32-arm64-msvc.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-win32-arm64-msvc) | | ||
| macOS x64 | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-darwin-x64.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-darwin-x64) | | ||
| macOS arm64(M1) | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-darwin-arm64.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-darwin-arm64) | | ||
| Linux x64 gnu | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-x64-gnu.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-x64-gnu) | | ||
| Linux x64 musl | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-x64-musl.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-x64-musl) | | ||
| Linux arm gnu | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-arm-gnueabihf.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-arm-gnueabihf) | | ||
| Linux arm64 gnu | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-arm64-gnu.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-arm64-gnu) | | ||
| Linux arm64 musl | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-linux-arm64-musl.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-linux-arm64-musl) | | ||
| Android arm64 | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-android-arm64.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-android-arm64) | | ||
| Android armv7 | โ | โ | โ | โ | [![npm version](https://img.shields.io/npm/v/@resvg/resvg-js-android-arm-eabi.svg?sanitize=true)](https://www.npmjs.com/package/@resvg/resvg-js-android-arm-eabi) | | ||
@@ -238,0 +248,0 @@ ## Test or Contributing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
315
43405