Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@ngrok/gen-x

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrok/gen-x

Generate package.json#exports from src

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
292
1.39%
Maintainers
4
Weekly downloads
 
Created
Source

@ngrok/gen-x

Generate package.json#exports from src

Installation

Install @ngrok/gen-x to your devDependencies with your preferred package manager:

package managercommand
npmnpm install -DE @ngrok/gen-x
yarnyarn add -DE @ngrok/gen-x
pnpmpnpm add -DE @ngrok/gen-x
bunbun add -DE @ngrok/gen-x

Development

Prerequisites required:

  • Node 20
  • pnpm 9
  • nvm

We use direnv to assist you with setting up all of the required tooling.

Prefer to install and manage the tooling yourself?
  • Install nvm or your node version manager of choice.
  • Ensure that node 20 is installed. With nvm, run nvm install.
  • Enable pnpm with corepack: corepack enable pnpm
  • Install pnpm with corepack: corepack install
  • Install project dependencies with pnpm: pnpm install

First, install direnv:

OScommand
macOSbrew install direnv
ubuntusudo apt install direnv

For all other OSes, see the direnv installation guide.

Don't forget to set up direnv integration with your shell.

Next, clone the repo and move into the directory:

git clone https://github.com/ngrok-oss/gen-x.git
cd gen-x

Next, run:

direnv allow

This will install nvm (if not already installed) as well as set the correct node and pnpm versions for you. It will also run pnpm install at the end to install all node_modules.

FAQs

Package last updated on 28 Jan 2025

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