svgo-add-viewbox
SVGO plugin which adds 'viewBox' attribute based on 'width' and 'height' attributes
svgo-viewbox
Add viewBox attribute to your SVGs and then optimize them with SVGO
viewbox
Library for dealing with SVG viewboxes as plain arrays
svg-autocrop
Auto crop svg files and remove extraneous tags and attributes