0.1.4 • Published 3 years ago

esm-hook v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

esm-hook

License npm version

Use ESM modules with zero setup.

require("esm-hook");

const fetch = require("node-fetch").default;
fetch("https://hacker-news.firebaseio.com/v0/item/8863.json?print=pretty")
  .then(req => req.json())
  .then(json => console.log(json))
  .catch(console.error);

License

MIT