henriquecarv / bundle-size

Find the cost of adding a npm package to your bundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bundle-size

Codacy Badge CircleCI LICENSE Dependabot Status

System Requirements

  • NodeJS (version >= 12).
  • Docker - if running with docker (version >= 19)
  • Docker compose if running with docker (version >= 1.25.5)

Setup

  • yarn install
  • yarn env

Running in Production mode

Running with docker

  • yarn docker:start

Running in development mode

  • yarn dev

Testing

  • yarn test

Todo

  • Clean installs temporary folder after package versions sizes retrieval
  • Add more automated tests and test coverage report
  • Include search field in the Package page to continue searching for other packages from there
  • Add database instance to be able to reuse the already searched and built package versions

License

Copylefted (c) 2020 Henrique Carvalho da Cruz Licensed under the MIT license.

About

Find the cost of adding a npm package to your bundle

License:MIT License


Languages

Language:TypeScript 91.0%Language:Dockerfile 4.9%Language:JavaScript 4.2%