Nihilist Pocket Monsters

    shut-console

    1.0.6 • Public • Published

    shut-console


    A utility tool that removes console.* statements from a project to prevent publishing on production and exposing sensitive information.


    Installation

    Install shut-console with npm

      npm install -g shut-console

    Usage

    shut-console [options]
    

    Options

    -h, --help    Show this help message
    -v, --view    View all console commands in all files of this project
    -r, --remove  Remove the specified console command from all files of this project
    -object       View all console commands in all files of this project in an object
    

    Examples

    To view all console commands in all files of the project:

    shut-console -v
    

    To remove all instances of the console commands from all files of the project:

    shut-console -r
    

    To view all console commands in all files of the project as an object:

    shut-console -object
    

    npm version MIT License

    Feedback

    If you have any feedback, please reach out to me at hi@ishaanbedi.in

    License

    MIT

    Related

    Here are some related projects

    Install

    npm i shut-console

    DownloadsWeekly Downloads

    0

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    6.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • ishaanbedi