Socket
Socket
Sign inDemoInstall

@lerna/list

Package Overview
Dependencies
Maintainers
2
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/list

List local packages


Version published
Weekly downloads
513K
increased by1%
Maintainers
2
Weekly downloads
 
Created

What is @lerna/list?

@lerna/list is a part of the Lerna monorepo management toolset. It is used to list all the packages in a Lerna-managed monorepo. This can be useful for various tasks such as auditing, documentation, and automation scripts.

What are @lerna/list's main functionalities?

List all packages

This feature allows you to list all the packages in your Lerna-managed monorepo. The code sample demonstrates how to use the `list` function to retrieve and print the list of packages.

const { list } = require('@lerna/list');
list().then(packages => console.log(packages));

List packages with specific attributes

This feature allows you to filter the list of packages based on specific attributes such as scope. The code sample demonstrates how to list packages that match a specific scope.

const { list } = require('@lerna/list');
list({ scope: '@my-scope/*' }).then(packages => console.log(packages));

List private packages

This feature allows you to list only the private packages in your monorepo. The code sample demonstrates how to list packages that are marked as private.

const { list } = require('@lerna/list');
list({ private: true }).then(packages => console.log(packages));

Other packages similar to @lerna/list

Keywords

FAQs

Package last updated on 12 Jan 2023

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