fs-cmp
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

fs-cmp Build Status

Easily determine if a given set of paths point to the same file.

import fsCmp from 'fs-cmp';
 
/**
 *
 * given:
 *   original_file
 *   └── symlink
 *       └── deep_symlink
 */
await fsCmp('original_file', 'symlink', 'deep_symlink'); // => true

Package Sidebar

Install

npm i fs-cmp

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

114 kB

Total Files

8

Last publish

Collaborators

  • charleskenney