Have ideas to improve npm?Join in the discussion! »

    check-package-lock

    1.6.0 • Public • Published

    check-package-lock

    Checks the package-lock.json file for http:// links

    What does it do?

    check-package-lock can check if the package-lock.json file contain insecure http:// links

    Usage

    To check the package-lock.json file in the current folder:

    npm install -g check-package-lock
    check-package-lock
    

    To check the package-lock.json file in another folder:

    npm install -g check-package-lock
    check-package-lock --folder 'nodefolder'
    

    Exit codes

    0 = No errors
    1 = Errors were founds in the package-lock.json files
    2 = package-lock.json was not found
    3 = Folder specified does not exists
    4 = Folder specified is not a folder
    

    Continuous Integration

    check-package-lock can be used in CI environments to check your package-lock.json file before merging a pull request

    Badges

    CircleCI

    codecov

    StyleCI

    Known Vulnerabilities

    Total alerts

    Install

    npm i check-package-lock

    DownloadsWeekly Downloads

    355

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar