@types/file-saver
- Version 2.0.7
- Published
- 6.31 kB
- No dependencies
- MIT license
Install
npm i @types/file-saveryarn add @types/file-saverpnpm add @types/file-saverOverview
TypeScript definitions for file-saver
Index
Variables
variable saveAs
const saveAs: typeof FileSaver;Functions
function FileSaver
FileSaver: typeof FileSaver;- FileSaver.js implements the saveAs() FileSaver interface in browsers that do not natively support it. - Parameter data- The actual file data blob or URL. - Parameter filename- The optional name of the file to be downloaded. If omitted, the name used in the file data will be used. If none is provided "download" will be used. - Parameter options- Optional FileSaver.js config 
- FileSaver.js implements the saveAs() FileSaver interface in browsers that do not natively support it. - Parameter data- The actual file data blob or URL. - Parameter filename- The optional name of the file to be downloaded. If omitted, the name used in the file data will be used. If none is provided "download" will be used. - Parameter disableAutoBOM- Optional & defaults to - true. Set to- falseif you want FileSaver.js to automatically provide Unicode text encoding hints- Deprecated- use - { autoBom: false }as the third argument
Interfaces
interface FileSaverOptions
interface FileSaverOptions {}property autoBom
autoBom: boolean;- Automatically provide Unicode text encoding hints false 
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/file-saver.
- Markdown[](https://www.jsdocs.io/package/@types/file-saver)
- HTML<a href="https://www.jsdocs.io/package/@types/file-saver"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
 Package analyzed in 3249 ms.
- Missing or incorrect documentation? Open an issue for this package.
