center an element in window or inside another element.
var center = require('center') document.body.appendChild(center(el))
If you want to add features, post an issue and i'll add you as collaborator.
how? learn more