Download a tarball (optionally gzipped) to a folder & extract it in the process. Uses the wonderful & super quick tar-fs & gunzip-maybe libraries.
Download node at nodejs.org and install it, if you haven't already.
npm install download-tarball --save
/* eslint-disable import/no-extraneous-dependencies */;;;;
npm installnpm test
- got: Simplified HTTP requests
- gunzip-maybe: Transform stream that gunzips its input if it is gzipped and just echoes it if not
- object-assign: ES2015
- promisify-function: Turn a callback-style function into a function that returns a promise
- pump: pipe streams together and close all of them if one of them closes
- tar-fs: filesystem bindings for tar-stream
- babel-cli: Babel command line.
- babel-core: Babel compiler core.
- babel-preset-es2015: Babel preset for all es2015 plugins.
- babel-tape-runner: Babel + Tape for running your ES Next tests
- http-test-server: Create a simple http server for tests
- package-json-to-readme: Generate a README.md from package.json contents
- tapava: the syntax of ava, run through tape
- tar-stream: tar-stream is a streaming tar parser and generator and nothing else. It is streams2 and operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.
- then-fs: promised FS
- tmp: Temporary file and directory creator
Generated by package-json-to-readme