Skip to content

ksholla20/save-svg-as-png-typings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

save-svg-as-png-typings

TypeScript definitions for save-svg-as-png (https://github.com/exupero/saveSvgAsPng)

Pre-requisite

As this is typings for save-svg-as-png, installation of save-svg-as-png is required

npm install save-svg-as-png

Installation

npm install -D ksholla20/save-svg-as-png-typings

Usage

import * as saveAsPng from "save-svg-as-png";

Once imported, usage is similar to original code in save-svg-as-png

saveAsPng.saveSvgAsPng(document.getElementById("diagram"), "diagram.png");

About

TypeScript definitions for save-svg-as-png

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published