CNode

Yarn -- Fast, reliable, and secure dependency management for JavaScript.

分享
Xxwartz发布于10 年前最后回复10 年前6 回复4773 浏览0 收藏

github: https://github.com/yarnpkg/yarn

Features

  • Offline Mode: If you've installed a package before, you can install it again without any internet connection.
  • Deterministic: The same dependencies will be installed the same exact way across every machine regardless of install order.
  • Network Performance: Yarn efficiently queues up requests and avoids request waterfalls in order to maximize network utilization.
  • Multiple Registries: Install any package from either npm or Bower and keep your package workflow the same.
  • Network Resilience: A single request failing won't cause an install to fail. Requests are retried upon failure.
  • Flat Mode: Resolve mismatching versions of dependencies to a single version to avoid creating duplicates.
  • More emojis. 🐈

感觉可以替代掉 npm 了

查看回复

回复 (6)

I
i5ting#1·10 年前

看起来不错

H
hxh1246996371#2·10 年前

yarn add 主要来自 npm registry,yarn publish 还是发布到 npm registry。准确说应该是想取代 npm cli

X
xcatliu#4·10 年前

一早起来被 yarn 刷屏了,群里的小伙伴表示速度很慢, 于是决定看看如何配置成 cnpm 的源,果断先占坑,晚上再看如何配置

https://github.com/cyarnpkg/cyarn √ cyarnpkg.com √ https://www.npmjs.com/package/cyarn

I
iyuq#5·10 年前

不错,赶紧试试

参与回复
登录后即可参与回复。登录