National Public Mania

    @codebundlesbyvik/html-dev-label

    2.0.0 • Public • Published

    html-dev-label

    npm npm - downloads per week

    An on-page HTML label present when your project is compiled with process.env.NODE_ENV set to development.


    html-dev-label


    Why?

    It's easy to confuse the development environment of a website with the live version when you have many tabs & windows open. Well, not any more.


    Installation

    // Install package from npm
    npm install @codebundlesbyvik/html-dev-label
    

    Usage

    import htmlDevLabel from "@codebundlesbyvik/html-dev-label";
    
    htmlDevLabel("top left");

    Options

    Parameter Type Default Description
    position String bottom right On-page position of the label. Accepted value is a combination of top or bottom, and left or right.

    License

    MIT © Viktor Chin-Kon-Sung

    Install

    npm i @codebundlesbyvik/html-dev-label

    DownloadsWeekly Downloads

    65

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    4.95 kB

    Total Files

    5

    Last publish

    Collaborators

    • codebundlesbyvik