Git Product home page Git Product logo

Comments (4)

ogonkov avatar ogonkov commented on July 30, 2024

I guess optipng-bin is low-level package that is not recommended for direct use. This package looks like user-friendly wrapper for optipng-bin.

from imagemin-optipng.

Pomax avatar Pomax commented on July 30, 2024

Guesses don't help people understand why they're being told to switch package. Low level is fine for automated cleanup, so the original question remains: why is the readme.md saying what it says?

from imagemin-optipng.

1000ch avatar 1000ch commented on July 30, 2024

optipng-bin is a low-level module, and imagemin-optipng provides a nicer interface by wrapping optipng-bin. Which we want to use depends on our use-case, so it says "You probably want imagemin-optipng instead."

from imagemin-optipng.

Pomax avatar Pomax commented on July 30, 2024

Right, but this is an npm package, hosted on github, and uses signaling akin to what people use to indicate that a package is deprecated. Rather than saying "you probably want to use X" (which in the context of an npm package has come just be a polite way to say "stop using this") it would be better to add a heading an one or two paragraphs that explain when you want to use optipng-bin, and when it makes more sense to use imagemin-optipng.

We use it for CLI cleaning of PNG files, for instance, where we definitely don't want a more elaborate interface.

from imagemin-optipng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.