monospace-usercard
v1.1.0
Published
```js var minixhr = require('minixhr') var bel = require('bel') var usercard = require('./index.js')
Downloads
3
Readme
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)
})