The `array-difference` package, currently at version 0.0.2 and last published in 2020 (with a copyright date of 2013), provides a basic utility method for computing the symmetric difference between two arrays. It identifies elements present in one array but not the other. Originally designed to be compatible with AMD and CommonJS modules, it functions in both Node.js and browser environments of its era. This package is no longer actively maintained or developed. Modern JavaScript projects typically use native `Set` operations, `filter` with `includes`, or more feature-rich, actively maintained third-party libraries that offer advanced array comparison, custom comparison functions, and better performance for large datasets. Its key differentiator is its simplicity and small footprint, though this comes at the cost of modern features and ongoing support.
Verified import paths — ran on the pinned version, not inferred.
This package is CommonJS-only and does not support ES Modules (`import`/`export`) due to its age and lack of maintenance. Attempting to use `import` will result in a `SyntaxError`.
Demonstrates how to import and use the `difference` function to find elements unique to two given arrays.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.