120
65
+ 1
0

What is Lerna?

It is a popular and widely used package written in JavaScript. It optimizes the workflow around managing multi-package repositories with git and npm.
Lerna is a tool in the Javascript Utilities & Libraries category of a tech stack.
Lerna is an open source tool with 22.9K GitHub stars and 1.5K GitHub forks. Here鈥檚 a link to Lerna's open source repository on GitHub

Who uses Lerna?

Companies
38 companies reportedly use Lerna in their tech stacks, including Graphy, qfl-stack, and caredoc.

Developers
67 developers on StackShare have stated that they use Lerna.

Lerna Integrations

Pros of Lerna
Be the first to leave a pro
Public Decisions about Lerna

Here are some stack decisions, common use cases and reviews by companies and developers who chose Lerna in their tech stack.

Simon Reymann
Simon Reymann
Senior Fullstack Developer at QUANTUSflow Software GmbH | 22 upvotes 266.8K views

Our whole Node.js backend stack consists of the following tools:

  • Lerna as a tool for multi package and multi repository management
  • npm as package manager
  • NestJS as Node.js framework
  • TypeScript as programming language
  • ExpressJS as web server
  • Swagger UI for visualizing and interacting with the API鈥檚 resources
  • Postman as a tool for API development
  • TypeORM as object relational mapping layer
  • JSON Web Token for access token management

The main reason we have chosen Node.js over PHP is related to the following artifacts:

  • Made for the web and widely in use: Node.js is a software platform for developing server-side network services. Well-known projects that rely on Node.js include the blogging software Ghost, the project management tool Trello and the operating system WebOS. Node.js requires the JavaScript runtime environment V8, which was specially developed by Google for the popular Chrome browser. This guarantees a very resource-saving architecture, which qualifies Node.js especially for the operation of a web server. Ryan Dahl, the developer of Node.js, released the first stable version on May 27, 2009. He developed Node.js out of dissatisfaction with the possibilities that JavaScript offered at the time. The basic functionality of Node.js has been mapped with JavaScript since the first version, which can be expanded with a large number of different modules. The current package managers (npm or Yarn) for Node.js know more than 1,000,000 of these modules.
  • Fast server-side solutions: Node.js adopts the JavaScript "event-loop" to create non-blocking I/O applications that conveniently serve simultaneous events. With the standard available asynchronous processing within JavaScript/TypeScript, highly scalable, server-side solutions can be realized. The efficient use of the CPU and the RAM is maximized and more simultaneous requests can be processed than with conventional multi-thread servers.
  • A language along the entire stack: Widely used frameworks such as React or AngularJS or Vue.js, which we prefer, are written in JavaScript/TypeScript. If Node.js is now used on the server side, you can use all the advantages of a uniform script language throughout the entire application development. The same language in the back- and frontend simplifies the maintenance of the application and also the coordination within the development team.
  • Flexibility: Node.js sets very few strict dependencies, rules and guidelines and thus grants a high degree of flexibility in application development. There are no strict conventions so that the appropriate architecture, design structures, modules and features can be freely selected for the development.
See more

Lerna Alternatives & Comparisons

What are some alternatives to Lerna?
Yarn
Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
Apache Maven
Maven allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. Once you familiarize yourself with how one Maven project builds you automatically know how all Maven projects build saving you immense amounts of time when trying to navigate many projects.
Bit
It is open source tool that helps you easily publish and manage reusable components. It help teams scale shared components to hundreds and even thousands of components, while eliminating the overhead around this process.
Builder
It is the first and only headless CMS with full drag and drop editing. It supports many frameworks like Angular, Vue, React, Preact etc.
Bazel
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
See all alternatives

Lerna's Followers
65 developers follow Lerna to keep up with related blogs and decisions.
Eric Feminella
Swaroop Wakade
jaimefps
Andrew Nell
kotielnikov
Narendar V
Nithesh B
Victor Grados
Bernhard Berger
RyKilleen