Nervously Practice Multithreading

    goodideas-usercard

    1.0.0 • Public • Published

    usercard component

    how to use this module?

    var usercard = require('goodideas-usercard')
    var minixhr = require('minixhr')
    var bel = require('bel')
    var url = 'https://jsonplaceholder.typicode.com/users'
     
    minixhr(url, function (data) {
      var arr = JSON.parse(data)
      var elements = arr.map(user => usercard(user))
      document.body.appendChild(bel`
         <div class="user-gallery">
           ${elements}
         </div>
       `)
    })

    Keywords

    none

    Install

    npm i goodideas-usercard

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • ninabreznik