Giter Site home page Giter Site logo

why? about npmf HOT 6 OPEN

rousan avatar rousan commented on June 16, 2024
why?

from npmf.

Comments (6)

rousan avatar rousan commented on June 16, 2024 1

npm info npmf provides extra info which is not needed and also doesn't provide the quick links like Github repo URL or npm url such that I can visit the link easily instead of opening a new tab and then search on google.

from npmf.

vytenis-nfq avatar vytenis-nfq commented on June 16, 2024 1

Or just grab only needed info at once npm info react repository.url version --json

{
  "repository.url": "git+https://github.com/facebook/react.git",
  "version": "16.8.4"
}

from npmf.

vytenis-nfq avatar vytenis-nfq commented on June 16, 2024

npm info npmf repository.url

from npmf.

vytenis-nfq avatar vytenis-nfq commented on June 16, 2024

Probably your package should be just a mix of default https://docs.npmjs.com/cli/view.html commands instead including extra dependency like axios and fetching info individually

from npmf.

rousan avatar rousan commented on June 16, 2024

If you use the mix of npm commands (e.g. npm info react and npm info react repository.url) to fetch single info about a package, then you are spawning multiple processes which may affect your app perf.

from npmf.

vytenis-nfq avatar vytenis-nfq commented on June 16, 2024

But you can get all data at once like npm info react --json and just grab all required fields as you do right now 👤

from npmf.

Related Issues (4)

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.