-
使用 yarn --verbose 可以展示详细安装过程信息,对于包的安装调试非常有用。yarn --verbose
yarn install v1.19.1
warning ../../package.json: No license field
verbose 0.453537431 Checking for configuration file "/Users/teng/Downloads/0215/.npmrc".
verbose 0.454731683 Checking for configuration file "/Users/teng/.npmrc".
verbose 0.455675902 Found configuration file "/Users/teng/.npmrc".
verbose 0.458505271 Checking for configuration file "/usr/local/etc/npmrc".
verbose 0.4597321 Found configuration file "/usr/local/etc/npmrc".
verbose 0.461008252 Checking for configuration file "/Users/teng/Downloads/0215/.npmrc".
verbose 0.46181476 Checking for configuration file "/Users/teng/Downloads/.npmrc".
verbose 0.462482914 Checking for configuration file "/Users/teng/.npmrc".
verbose 0.462949705 Found configuration file "/Users/teng/.npmrc".
verbose 0.465715502 Checking for configuration file "/Users/.npmrc".
verbose 0.482803295 Checking for configuration file "/Users/teng/Downloads/0215/.yarnrc".
verbose 0.483418382 Checking for configuration file "/Users/teng/.yarnrc".
verbose 0.483786265 Found configuration file "/Users/teng/.yarnrc".
verbose 0.485707548 Checking for configuration file "/usr/local/etc/yarnrc".
verbose 0.488534003 Checking for configuration file "/Users/teng/Downloads/0215/.yarnrc".
verbose 0.490599237 Checking for configuration file "/Users/teng/Downloads/.yarnrc".
verbose 0.493375123 Checking for configuration file "/Users/teng/.yarnrc".
verbose 0.49648842 Found configuration file "/Users/teng/.yarnrc".
verbose 0.497646151 Checking for configuration file "/Users/.yarnrc".
verbose 0.515482739 current time: 2022-02-15T03:50:59.668Z
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
-
在项目开发中,UI 团队为数字指定了专用字体,大家都知道在网页中去加载动辄几十兆、数百兆的字体是行不通的,那该怎么解决 UI 的诉求呢?
如果能从字体包中把数字抽取出来就好了,按照这个想法,解决问题的方法就转变为如何按需打包字体包。
我们可以使用 font-spider 来实现字体的按需加载。
-
nodejs获取文件信息的方法,nodejs获取文件创建时间的方法,nodejs获取文件修改时间的方法。nodejs获取文件atime,mtime,ctime,birthtime
-
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.Puppeteer 是一个通过 DevTools 协议提供高级别 API 来控制 Chrome 或 Chromium 的 node 库。Puppeteer 默认以 headless 模式运行,但是可以通过修改配置文件运行“有头”模式。
-
本文主要讲解如何使用nodejs读写excel文件,轻松实现对excel文件的读取和写入操作。