Merge pull request #43 from tmcw/package
Export module, add package.json.
This commit is contained in:
@@ -214,3 +214,5 @@ var saveAs = saveAs
|
|||||||
view.addEventListener("unload", process_deletion_queue, false);
|
view.addEventListener("unload", process_deletion_queue, false);
|
||||||
return saveAs;
|
return saveAs;
|
||||||
}(self));
|
}(self));
|
||||||
|
|
||||||
|
if (typeof module !== 'undefined') module.exports = saveAs;
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"name": "FileSaver.js",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "A saveAs() FileSaver implementation",
|
||||||
|
"main": "FileSaver.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/eligrey/FileSaver.js.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"filesaver",
|
||||||
|
"saveas",
|
||||||
|
"blob"
|
||||||
|
],
|
||||||
|
"author": "Eli Grey",
|
||||||
|
"license": "MIT/X11",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/eligrey/FileSaver.js/issues"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user