Pages

Friday, May 22, 2015

Mi az az NPM

Az npm azaz Node Package Manager - vagy Node Csomag Kezelő - node programok telepítésére és karbantartására használható. A rendszerben jelenleg több mint 150.000 csomag van és naponta több mint 60 milliót installálnak programozók. Ma már az npm a node szerves része, úgyhogy nem kell külön installálni.

Csomagok Helyi (local) Installálása


Egy csomagot a helyi mappába a nagyon egyszerű npm install <csomag_neve> paranccsal lehet installálni.

Például: npm install lodash.

A parancs lefuttatása után a node létrehoz (ha még nincs) egy node_modules mappát és ha kilistázzuk a tartalmát ls node_modules akkor láthatjuk, hogy megjelent a lodash könyvtár.


Csomagok Globális (global) Installálása


Egy csomagot kétféle képpen lehet installálni, az egyik a már fentebb említett helyi telepítés, a másik pedig a globális. Globálisan olyan csomagokat szokás telepíteni amiket többnyire terminálból akarunk futtatni (pl: grunt, jshint stb). Maga a parancs nagyon hasonló az előzőhöz:
npm install -g jshint

További részleteket az npm oldalán olvashattok itt: https://docs.npmjs.com/getting-started/what-is-npm

39 comments:

  1. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.

    rpa training in bangalore
    best rpa training in bangalore
    RPA training in bangalore
    rpa course in bangalore
    rpa training in chennai
    rpa online training

    ReplyDelete
  2. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    Python Online certification training
    python Training institute in Chennai
    Python training institute in Bangalore

    ReplyDelete
  3. Thank you for allowing me to read it, welcome to the next in a recent article. And thanks for sharing the nice article, keep posting or updating news article.
    samsung mobile repair
    samsung mobile service center near me
    samsung service centres in chennai
    samsung mobile service center in velachery

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. Nice Article! I like to read your blog because your blog is fascination to read and you’re writing skill also too good. You’re blog is more interesting to read. Thanks for sharing a blog with us.
    Python training in bangalore
    Data science with python training in Bangalore
    AWS training in Banaglore
    J meter training in Bangalore

    ReplyDelete
  6. Visit for AWS training in Bangalore, Visit: AWS training in Bangalore

    ReplyDelete
  7. Congratulations This is the great things. Thanks to giving the time to share such a nice information.best Mulesoft training in bangalore

    ReplyDelete
  8. Excellent post for the people who really need information for this technology.ServiceNow training in bangalore

    ReplyDelete
  9. Thanks for sharing such an informative blog...
    RPA Training in Bangalore - Marathahalli | RPA Training Institutes | RPA Course Fees and Content | RPA Interview Questions
    - ECare Technologies located in Marathahalli - Bangalore, is one of the best RPA Training institute with 100% Placement support. RPA Training in Bangalore provided by RPA Certified Experts and real-time Working Professionals with handful years of experience in real time RPA Projects.

    ReplyDelete
  10. Thanks for sharing such a great information..Its really nice and informative.. sap bi online training

    ReplyDelete
  11. I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.

    learn sap ui5

    ReplyDelete
  12. Hızlı takipçi almak için takipçi satın al
    Organik takipçi almak için takipçi satın al
    Bilgisayardan takipçi almak için takipçi satın al
    Mobil cihazdan takipçi almak için takipçi satın al
    Gerçek ve orijinal takipçi almak için takipçi satın al
    Yazarkasa ile takipçi almak için takipçi satın al
    Bitcoin takipçi almak için takipçi satın al
    Pos ile takipçi almak için takipçi satın al
    EFT ile takipçi almak için takipçi satın al
    Havale ile takipçi almak için takipçi satın al
    Mobil ödeme ile takipçi almak için takipçi satın al
    Tamamı orijinal takipçi almak için takipçi satın al
    Organik ile takipçi almak için takipçi satın al
    Türkiye takipçi almak için takipçi satın al
    Global takipçi almak için takipçi satın al
    En hızlı instagram takipçi satın al
    En uygun instagram takipçi satın al
    En telafili instagram takipçi satın al
    En gerçek spotify takipçi satın al
    En ucuz instagram takipçi satın al
    En otomatik instagram takipçi satın al
    En sistematik tiktok takipçi satın al
    En otantik instagram takipçi satın al
    En opsiyonel instagram takipçi satın al
    En güçlü instagram takipçi satın al
    En kuvvetli instagram takipçi satın al
    En seri instagram takipçi satın al
    En akıcı instagram takipçi satın al
    En akıcı instagram takipçi satın al
    En akıcı instagram takip etmeyenler

    ReplyDelete
  13. You can make a video how to do it and publish it on youtube. If you want to get subscribers for your channel use this site https://soclikes.com/buy-youtube-subscribers

    ReplyDelete
  14. Hmm , very informative article! Thanks to author for it! Don't you think it's worth make a video on this article and post it on TikTok? You can also use the help of https://viplikes.net/buy-tiktok-followers in order to wind up the number of followers for your account.

    ReplyDelete
  15. Your article is extremely helpful exceptionally fascinating subject i am looking that sort of post thank for imparting to us keep it up. I really enjoy reading your post about this Posting. This sort of clever work and coverage! Keep up the wonderful works guys, thanks for sharing



    IObit Driver Booster Pro 9

    IObit Driver Booster Pro Key

    Driver Booster Pro 9

    IObit Driver Booster Pro

    IObit Driver Booster Pro

    Driver Booster Pro 9 Key

    ReplyDelete
  16. Autodesk Revit Crack stretches a complete key for your whole construction plan aspect and provision creates. The designers, developing firms to make clear, form more¬ well-versed alternatives beforehand. They provide schemes additional professionally.

    ReplyDelete
  17. In the PC structure, SpyHunter 5 Full Crack offers brilliant sifting techniques for all of the subjects. Additionally, you can save your PC system from a wide scope of red worms and malware too. By utilizing this product, a client is effectively ready to get a steady connivance. It is an exceptionally valuable and famous spyware programming for everybody. On a PC, the product contains the capacity to filter for a wide scope of malware rootkits. You can likewise get an exhibit message about the malware alongside a solicitation to restart the PC. SpyHunter downpour gives total assurance to a framework also.spyhunter-5-crack

    ReplyDelete
  18. Thanks for sharing this great blog for us.
    Idm Pro Crack

    ReplyDelete
  19. Artificial Intelligence Training in Chennai
    <a href="https://www.slainstitute.com/artificial-intelligence-training-in-chennai”>Artificial Intelligence Course in Chennai
    </a>

    ReplyDelete
  20. FL Studio Crack
    FL Studio Crack is use to eliminates all uncertainty involved in sending information toward a gadget.

    ReplyDelete