🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@5app/esm-helpers

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5app/esm-helpers

ESM Helper Utility functions

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
79
-12.22%
Maintainers
5
Weekly downloads
 
Created
Source

ESM Helpers

CircleCI

ESM Helpers provides shims for working with NodeJS using ESM

import {dirName, requireJSON} from 'esm-helpers';

// Recreate __dirname
const __dirname === dirName(import.meta);

// Load JSON files from a relative path
// Replaces `require('./package.json')`
const myJSON = await requireJSON(import.meta, './package.json');

FAQs

Package last updated on 30 Jun 2021

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