🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

esm-hook

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esm-hook

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/esm-hook.svg)](https://badge.fury.io/js/esm-hook)

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
522
-29.84%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 20 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts