DEV Community

netsi1964 πŸ™πŸ»
netsi1964 πŸ™πŸ»

Posted on

Pulling and using NPM package Emmet as javascript module and using it in the browser

What if you can pull a NPM packet into your project without having to add a project which needs to be builded before being used? Turns out you can.

This pen uses Emmet as a javascript module inside a pen. It itself is constructed using a Emmet/CSS abbreviation to create itself. It lets you type ind abbreviations and see the generated HTML source and rendered HTML instantly. Pretty sweet I think.

Oldest comments (0)