Switch to the New Taobao NPM Mirror & Discover the Latest Frontend Tools

This article announces the new domain for the Taobao NPM mirror, highlights the React Router v6 release, and introduces several useful open‑source tools such as cssdb, react‑freeze, npm‑dts, install‑with‑typing, and rs‑jest, while also pointing to a React Native API roundup.

Taobao Frontend Technology
Taobao Frontend Technology
Taobao Frontend Technology
Switch to the New Taobao NPM Mirror & Discover the Latest Frontend Tools

News

Taobao NPM Mirror New Domain

Since 2014 the Taobao NPM mirror (http://npm.taobao.org) has served the Chinese frontend community, originally modeled after the Ruby Gems Taobao mirror and using the taobao.org sub‑domain. After years of operation the architecture could no longer meet growing package volume, so a new domain and infrastructure have been launched.

New domain activated.

Registry fully rebuilt for higher stability and lower sync failure rates.

CLI optimized for faster installations and removal of symlink compatibility issues.

Enterprise‑grade usage experience documented.

…etc.

New website and registry endpoints:

Web site: https://npmmirror.com

Registry endpoint: https://registry.npmmirror.com

React Router v6 Released

The latest version of React Router introduces API changes, a complete rewrite using React Hooks, and becomes a core part of the Remix framework.

Open Source

cssdb

cssdb provides a comprehensive list of CSS features and their status in web standards implementation.

react-freeze

react‑freeze is a library that prevents unnecessary React re‑renders by freezing component trees and replacing them with placeholder views while preserving state.

npm-dts

npm‑dts is a CLI tool that automatically generates a single .dts file for bundling TypeScript NPM packages.

Installation:

npm install --save-dev npm-dts
npm install -g npm-dts

Usage:

npm-dts [options] generate

install-with-typing

install‑with‑typing is a CLI utility that installs NPM packages together with their corresponding TypeScript declaration files.

Example usage:

pnpm i install-with-typing -g
# fs-extra as dep, @types/fs-extra as devDep
it fs-extra
# jest, @types/jest as devDep
it jest --no-save
# scoped package support: @babel/traverse -> @types/babel__traverse
it @babel/traverse
# monorepo example
it typescript --args='--workspace-root --silent'

rs-jest

rs‑jest is a Jest transformer that enables running Rust unit tests directly from Jest.

Configuration (jest.config.js):

module.exports = {
  transform: {
    "^.+\\.rs$": "rs-jest"
  }
};

Article

Little‑Known React Native APIs

This article serves as a React Native developer’s handbook, collecting many rarely used but highly practical APIs worth bookmarking.

TypeScriptnpmreact-native
Taobao Frontend Technology
Written by

Taobao Frontend Technology

The frontend landscape is constantly evolving, with rapid innovations across familiar languages. Like us, your understanding of the frontend is continually refreshed. Join us on Taobao, a vibrant, all‑encompassing platform, to uncover limitless potential.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.