Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    centerpublic

    center

    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.

    License

    MIT

    Keywords

    none

    install

    npm i center

    Downloadsweekly downloads

    4

    version

    0.0.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar