0.1.2 • Published 8 years ago

svg-stubs v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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

nametypedescriptiondefault
textstringcentered text on imagehello
fontSizenumbertext font size24
widthnumberimage width1180
heightnumberimage height90
fillstringimage background colorC13C41
timeboolshow time after text0
0.1.2

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago