New message! Facebook launches Yarn: an open-source JavaScript manager for speed

Source: Internet
Author: User

New message! Facebook launches Yarn: an open-source JavaScript manager for speed
GuideFacebook just launched an open-source JavaScript package manager named Yarn, promising to be more reliable and faster than the installation of popular npm packages.

According to the work package you selected, the company said Yarn can reduce the installation time from several minutes to several seconds. Yarn is also compatible with the nom registry, but the package installation method is different. It uses lockfiles and a decisive installation algorithm to maintain the same node module (node_modules) directory structure for all users participating in a project, this helps reduce hard-to-track bugs and replicate on multiple machines.

Yarn is also designed to make installation faster and more reliable. It supports cache downloading of each package and parallel operations, and allows installation without Internet connection (if it has been installed before ). In addition, Yarn is committed to compatibility with npm and Bower workflows, allowing you to restrict authorization licenses for installation modules.
Facebook pointed out that it has selected a large number of projects that are widely used in npm, but encountered performance and security problems during internal application extension. Together with engineers from Exponent, Google, and Tilde, Yarn is created and tested on a large JavaScript framework so that it can be used for development by multiple people as much as possible.

The npm behind-the-scenes team pointed out in a blog article that it welcomed Yarn to join the open-source npm client camp. The public package of Yarn runs well, but the private package still has some problems and the development team is repairing them.
Yarn is Facebook's latest open-source project in 2016, it released a code library for creating AI robots, an easy-to-use tool, a React JavaScript library, and a wireless access platform (used to provide Internet access in areas with poor connectivity) or even a 360 ° camera configuration.
Because of its frequent contributions to the open-source business, the company is now one of the top 2nd open-source contribution organizations on GitHub, second only to the software giant Microsoft.

From: http://mt.sohu.com/20161012/n470087099.shtml

Address: http://www.linuxprobe.com/facebook-yarn-javascript.html


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.