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

netsi1964 profile image netsi1964 🙏🏻 ・1 min read

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.


Editor guide