JSPM

  • Created
  • Published
  • Downloads 156
  • Score
    100M100P100Q65671F
  • License MIT

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).

Package Exports

  • @alwatr/dedupe

Readme

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__);