node-wgot

A simple Node.js library to save files programmatically.

Usage no npm install needed!

<script type="module">
  import nodeWgot from 'https://cdn.skypack.dev/node-wgot';
</script>

README

node-wget

A simple Node.js library to pull a file from the web and save it locally.

Installation

  • Yarn: yarn add node-wget
  • NPM: npm install node-wget --save

Usage

var wget = require('node-wget');
var path = require('path');

wget('https://example.com/index.html', path.join(__dirname, 'index.php'));

Contributing

To contribute, open a pull request or file an issue, so we can improve the library easier!