compare


目录

title: Comparing directories

Comparing directories

This tutorial is part of package functions documentation in Iconify Tools.

Function [func]compareDirectories() compares contents of two directories.

It is used to check if package generated by one of export functions and package downloaded from elsewhere, such as NPM package are identical. If packages are identical, there is no need to publish a new version.

Usage

Function has the following parameters:

Function returns:

Function is asynchronous. That means you need to handle it as [class]Promise instance, usually by adding [js]await before function call.

Options

Options object has the following optional properties:


版本号 #2
由 壳壳虫 创建于 2026-10-31 14:26:19 UTC
由 壳壳虫 更新于 2026-10-31 14:26:20 UTC