monospace-usercard

    1.1.0 • Public • Published

    demo

    var minixhr = require('minixhr')
    var bel = require('bel')
    var usercard = require('./index.js')
     
    var url = 'https://jsonplaceholder.typicode.com/users'
     
    minixhr(url, function (data) {
      var obj = JSON.parse(data)
      var usergallery = bel`
       <div>
        ${obj.map(user => usercard(user))}
       </div>
      `
      document.body.appendChild(usergallery)
    })

    Keywords

    none

    Install

    npm i monospace-usercard

    DownloadsWeekly Downloads

    0

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • ninabreznik