Socket
Socket
Sign inDemoInstall

get-monorepo-packages

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-monorepo-packages

Get a list of packages from a monorepo


Version published
Maintainers
1
Created

What is get-monorepo-packages?

The get-monorepo-packages npm package is designed to help developers working with monorepos by providing utilities to list and manage packages within a monorepo setup. It simplifies the process of identifying and working with multiple packages in a single repository.

What are get-monorepo-packages's main functionalities?

List all packages in a monorepo

This feature allows you to list all the packages in a monorepo. The `getPackages` function scans the monorepo and returns an array of package information, which can be useful for various management tasks.

const { getPackages } = require('get-monorepo-packages');
const packages = getPackages();
console.log(packages);

Get package details

This feature provides detailed information about each package in the monorepo, including the package name and its location. This can be useful for scripts that need to operate on specific packages.

const { getPackages } = require('get-monorepo-packages');
const packages = getPackages();
packages.forEach(pkg => {
  console.log(`Package Name: ${pkg.package.name}`);
  console.log(`Package Path: ${pkg.location}`);
});

Other packages similar to get-monorepo-packages

Keywords

FAQs

Package last updated on 14 May 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc