Skip to content

Securely - optimizer for your project's security and performance issues.

License

Notifications You must be signed in to change notification settings

Sardor-M/Securely

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Securely

Securely is a CLI tool that helps developers to optimize and analyze their project's security issues and performance pitfalls more efficiently.

The goal of this project is to dive into CLI tooling using Node js and to learn how to build a CLI tool from scratch.

  • CLI Argument Parsing,
  • Build and Measure Performance,
  • Analyze your project's health,
  • Check for security vulnerabilities,
  • Optimize build performance,
  • Automatically detects your project type (Vite or Webpack) and provides insights about:
    • Bundle sizes
    • Build times
    • Dependency health
    • Security Checks

Installation

npm install -g securely

Usage

    securely test               # Analyze your project's health
    securely audit              # Check for NPM audit vulnerabilities
    securely secure-check       # Check for security vulnerabilities

Example

    securely test
    securely audit
    securely secure-check

Options

    securely test --help
    securely audit --help
    securely secure-check --help

License

Securely is MIT licensed.

Contributing

Pull requests are welcome. For contributions, please create a new branch and submit a pull request for review.

Please make sure you have vite or webpack installed on your system. Once you have vite or webpack installed, you can run securely test to analyze your project's health and check for security vulnerabilities.

Dependencies

  • ajv: Fast JSON Schema validator for validating data structures.
  • better-ajv-errors: Enhances AJV error messages for better readability.
  • chalk: Library for styling terminal string output with colors.
  • cli-table3: Easy-to-use table generation for command-line interfaces.
  • cosmiconfig: Configuration loader for various formats (JSON, YAML, etc.).
  • debug: Utility for enabling/disabling debug output in applications.
  • pidusage: Retrieves CPU and memory usage of a process.
  • pkg-up: Finds the nearest package.json file in the directory hierarchy.

DevDependencies

  • @babel/parser: Parses JavaScript code into an Abstract Syntax Tree (AST).
  • @babel/traverse: Traverses and manipulates the AST for code analysis and transformation.

Project aims to keeps your project secure by:

  • 🔍 Scanning for vulnerable dependencies
  • 📦 Suggesting package updates
  • 📚 Providing security best practices
  • 📊 Monitoring npm audit results

About

Securely - optimizer for your project's security and performance issues.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published