GithubHelp home page GithubHelp logo

dorshinar / node-tgz-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meir017/node-tgz-downloader

0.0 2.0 0.0 251 KB

Downloads all of the node_modules based on a package-lock.json file

License: MIT License

JavaScript 100.00%

node-tgz-downloader's Introduction

CircleCI NPM Version NPM Downloads

node-tgz-downloader

Downloads all of the tarballs based on one of the following:

  • local package-lock.json file
  • url to a package-lock.json
  • name of package
  • local package.json file
  • url to a package.json
  • search keyword

install

npm install node-tgz-downloader -g

usage

From Code:

const downloader = require('node-tgz-downloader');

downloader.downloadFromPackageLock('path/to/package-lock');

From Command Line:

package-lock.json

from local file:

download-tgz package-lock path/to/package-lock.json

from url:

download-tgz package-lock https://raw.githubusercontent.com/Meir017/node-tgz-downloader/master/package-lock.json

package name

download-tgz package @angular/cli --devDependencies --peerDependencies

package.json

from local file:

download-tgz package-json path/to/package.json

from url:

download-tgz package-json https://raw.githubusercontent.com/Meir017/node-tgz-downloader/master/package.json

search keyword

downloads the packages returned from an npm search query (https://registry.npmjs.org/-/v1/search?)

download-tgz search tgz

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.