1.0.7 • Published 7 days ago

@alwatr/dedupe v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 days ago

Dedupe

A package manager helper tool for debug list of defined (imported) packages in your ecosystem and prevent to duplicate import (install) multiple versions of the same package in your project (deduplicate packages).

Example usage

import {definePackage} from '@alwatr/dedupe';

definePackage('@alwatr/logger', '2.0.0');

You can use __package_version__ to automatically obtain the version of the package if you are using @alwatr/nano-build to build your package.

definePackage('@alwatr/logger', __package_version__);