UNPKG

svg-inplace-rasterize

Version:

Rasterize parts of an SVG to keep it animatable while reducing size and improving render time.

51 lines (50 loc) 1.25 kB
{ "name": "svg-inplace-rasterize", "version": "0.0.3", "description": "Rasterize parts of an SVG to keep it animatable while reducing size and improving render time.", "main": "dist/main.js", "scripts": { "test": "jest", "build": "tsc" }, "bin": { "svg-inplace-rasterize": "./dist/index.js" }, "repository": { "type": "git", "url": "git+https://github.com/hansottowirtz/svg-inplace-rasterize.git" }, "author": "Hans Otto Wirtz <hansottowirtz@gmail.com>", "license": "MIT", "keywords": [ "svg", "rsvg", "librsvg", "webp" ], "files": [ "dist/**.d.ts", "dist/**.js", "README.md" ], "bugs": { "url": "https://github.com/hansottowirtz/svg-inplace-rasterize/issues" }, "homepage": "https://github.com/hansottowirtz/svg-inplace-rasterize#readme", "devDependencies": { "@types/cheerio": "^0.22.11", "@types/node": "^12.0.1", "@types/sharp": "^0.22.2", "typescript": "^3.4.5" }, "dependencies": { "cheerio": "^1.0.0-rc.3", "cheerio-get-css-selector": "^2.0.0", "commander": "^2.20.0", "datauri": "^2.0.0", "image-data-uri": "^2.0.0", "librsvg-prebuilt": "^0.7.10", "segfault-handler": "^1.1.0", "sharp": "^0.22.1" } }