All Projects → itwillwork → Ostap

itwillwork / Ostap

CLI tool that fast checks if your bundle contains multiple versions of the same package, only by looking in package.json.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ostap

Package Size
Get the bundle size of an npm package.
Stars: ✭ 257 (+119.66%)
Mutual labels:  webpack, bundle
Multipages Generator
🥇 generator for multiple pages webpack application
Stars: ✭ 354 (+202.56%)
Mutual labels:  webpack, frontend
Frontend Boilerplates
Collection of Boilerplates with ES6, Vue, React, Nuxt, TypeScript, SCSS, Nodejs. Using good practices and file structures to inspire your real projects.
Stars: ✭ 269 (+129.91%)
Mutual labels:  webpack, frontend
Webpack
简单易懂的webpack入门教程
Stars: ✭ 175 (+49.57%)
Mutual labels:  webpack, bundle
Webpacker
Use Webpack to manage app-like JavaScript modules in Rails
Stars: ✭ 5,282 (+4414.53%)
Mutual labels:  webpack, frontend
Webpack Book
From apprentice to master (CC BY-NC-ND)
Stars: ✭ 2,372 (+1927.35%)
Mutual labels:  webpack, frontend
Webpack Libs Optimizations
Using a library in your webpack project? Here’s how to optimize it
Stars: ✭ 3,187 (+2623.93%)
Mutual labels:  webpack, frontend
Spring Boot Vuejs
Example project showing how to build a Spring Boot App providing a GUI with Vue.js
Stars: ✭ 1,818 (+1453.85%)
Mutual labels:  webpack, frontend
Whybundled
Answers the question – Why the hell is this module in a bundle?
Stars: ✭ 477 (+307.69%)
Mutual labels:  webpack, bundle
Annotated Webpack Config
This is the companion github repo for the "An Annotated webpack 4 Config for Frontend Web Development" article.
Stars: ✭ 425 (+263.25%)
Mutual labels:  webpack, frontend
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (+46.15%)
Mutual labels:  webpack, frontend
Initior
A command line application that let's you initialize your new projects the right way, replaces npm and yarn's init 🎆
Stars: ✭ 17 (-85.47%)
Mutual labels:  cli-app, webpack
Webpack.js.org
Repository for webpack documentation and more!
Stars: ✭ 2,049 (+1651.28%)
Mutual labels:  webpack, bundle
Frontend Boilerplate
An ES20XX starter with common frontend tasks using Webpack 4 as module bundler and npm scripts as task runner.
Stars: ✭ 224 (+91.45%)
Mutual labels:  webpack, frontend
Webpack Unused
Check your frontend code for files/assets that are no longer used.
Stars: ✭ 137 (+17.09%)
Mutual labels:  webpack, frontend
Cli
✨ A powerful CLI for the Create Go App project. Create a new production-ready project with backend, frontend and deploy automation by running one CLI command!
Stars: ✭ 292 (+149.57%)
Mutual labels:  cli-app, frontend
Fe Interview
😃 每日一道经典前端面试题,一起共同成长。
Stars: ✭ 134 (+14.53%)
Mutual labels:  webpack, frontend
Webpack Bundle Analyzer
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Stars: ✭ 11,472 (+9705.13%)
Mutual labels:  webpack, bundle
Create React App Typescript
DEPRECATED: Create React apps using typescript with no build configuration.
Stars: ✭ 3,759 (+3112.82%)
Mutual labels:  webpack, frontend
Poi
⚡A zero-config bundler for JavaScript applications.
Stars: ✭ 5,291 (+4422.22%)
Mutual labels:  webpack, bundle

ostap

CLI tool that fast checks if your bundle contains multiple versions of the same package, only by looking in package.json.

Advantages:

  • faster than alternatives, since it doesn't require rebuilding the bundle (example, duplicate-package-checker-webpack-plugin);

  • uses only package.json;

  • suggests optimal package versions; see how

  • you can quickly see all the current versions of the same package that are used in the current bundle. see how

Quick start

# create package.json if not exists
echo "{\"name\":\"demo-project\",\"version\":\"1.0.0\",\"dependencies\":{\"@nivo/bar\":\"0.54.0\",\"@nivo/core\":\"0.53.0\",\"@nivo/pie\":\"0.54.0\",\"@nivo/stream\":\"0.54.0\"}}" > ./package.json

npx ostap ./package.json -s

How to use

For example, you have package.json:

{
  "name": "demo-project",
  "version": "1.0.0",
  "dependencies": {
    "@nivo/bar": "0.54.0",
    "@nivo/core": "0.53.0",
    "@nivo/pie": "0.54.0",
    "@nivo/stream": "0.54.0"
  }
}

For suggests optimal package versions

ostap ./package.json

For see all the current versions of the same package that are used in the current bundle

ostap ./package.json -s

Installation

npm i -g ostap

Options

Options:
  -c, --use-cache                Use cache 
  -d, --duplicates               Show duplicates in source and optimal tree 
  -s, --source-tree-duplicates   Show duplicates in source tree 
  -o, --optimal-tree-duplicates  Show duplicates in optimal tree 
  -v, --version                  Display version number 
  -h, --help                     Display help 

Contributing

Got ideas on how to make this better? Open an issue!

License

MIT

Who is Ostap?

Ostap Bender is a fictional man who appeared in the novels The Twelve Chairs and The Little Golden Calf written by Soviet authors Ilya Ilf and Yevgeni Petrov. His description as "The Great Combinator" became a catch phrase in the Russian language.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].