Inlining package version into ES6 npm packages using sed
Here’s how I’m using sed
to inline the version
field from an npm
package.json
into my code in an ES6 package. It’s not very exciting, which is probably clear from the exhilarating
title.