https://github.com/null-none/save-to-disk
Javascript modules for save files from browser on disk.
https://github.com/null-none/save-to-disk
disk javascript-library js mit npm npm-package save
Last synced: 8 months ago
JSON representation
Javascript modules for save files from browser on disk.
- Host: GitHub
- URL: https://github.com/null-none/save-to-disk
- Owner: null-none
- License: mit
- Created: 2017-03-09T22:13:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T23:03:38.000Z (about 9 years ago)
- Last Synced: 2025-03-02T08:15:21.496Z (about 1 year ago)
- Topics: disk, javascript-library, js, mit, npm, npm-package, save
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# save-to-disk
Javascript modules for save files from browser on disk.
## Install
```bash
npm install save-to-disk
```
## Example
```javascript
var lib = require('save-to-disk'),
downloadFile = lib.saveToDiskNew,
var url = 'http://test.com/logo.png';
downloadFile(url, 'test.png');
```
## License
MIT