This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

svg-stubs

0.1.2 • Public • Published

svg-stubs service

Colored svg stubs for banner tests and etc

NPM

install

npm i -g svg-stubs

usage

svg-stubs 8080

in browser

http://localhost:8080?text=hello

OR

http://localhost:8080/banner.svg?text=hello_world

http://localhost:8080/[any symbols].svg

insert on your page

<body>
    <img src="http://localhost:8080/banner.svg?text=hello_world" />
</body>

GET params

name type description default
text string centered text on image hello
fontSize number text font size 24
width number image width 1180
height number image height 90
fill string image background color C13C41
time bool show time after text 0

Readme

Keywords

Package Sidebar

Install

npm i svg-stubs

Weekly Downloads

3

Version

0.1.2

License

MIT

Last publish

Collaborators

  • alekzonder