This is the reason I wrote the post and I'd really like to get back to actually programming.
This is the reason I wrote the post and I'd really like to get back to actually programming.
npm i -D babel-cli babel-preset-es2015 babel-preset-stage-0 babel-plugin-transform-runtime
echo "export default async function requireFromTwitter (id) {}" > index.js
echo '{ "presets": ["es2015","stage-0"], "plugins": ["transform-runtime"] }' > .babelrc
./node_modules/.bin/babel-node index.js
What I like about your solution here is that is proves installation correctness in an absolutely minimalist way.
If you made one of these for every Babel plugin then life would be a whole lot easier for people trying to work out if they have correctly configured the plugin.
Assuming of course your solutions are in a highly visible place that is obviously current and up to date.
FYI: in reference to https://twitter.com/rauchg/status/712799807073419264