@alwatr/dedupe
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i @alwatr/dedupe

    Weekly Downloads

    120

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    11.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • njfamirm
    • alimd