Last active
June 13, 2016 12:08
-
-
Save juliangruber/4540290b97a157f122cc6152d4230175 to your computer and use it in GitHub Desktop.
yo-yo + es6 = ❤️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const yo = require('yo-yo') | |
module.exports = entries => yo` | |
<ul> | |
${entries.map(entry => yo` | |
<li>${entry.name}</li> | |
`)} | |
</ul>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment