simplefilesaver Saves File or Blob. Nothing else. Usage Here's an example. It uses all of the arguments, and uses a File: saveFile(new File(["hello"], "", { type: "text/plain" }), "hello.txt"); Importing To import, just link it as a script tag.