Skip to content

jim0thy/npm-package-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

Description

Checks the unzipped size of all packages in an NPM org

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/projectname.git
    cd projectname
  2. Install dependencies:

    go mod tidy
  3. Build the project:

    go build -o projectname

Usage

  1. Run the project:

    ./projectname
  2. Example command:

    ./projectname arg1 arg2

Development

Prerequisites

  • Go 1.19 or higher

Running Tests

To run tests, use the following command:

go test ./...

Linting

Ensure your code follows best practices by running the linter:

  1. Install golangci-lint:

    curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
  2. Run the linter:

    golangci-lint run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages