@giancosta86/marinero
v1.0.0
Published
TypeScript utilities for the browser
Downloads
2
Maintainers
Readme
marinero
TypeScript utilities for the browser

marinero provides TypeScript utilities for vanilla UI within the browser.
Installation
The package on NPM is:
@giancosta86/marinero
The public API entirely resides in the root package index, so you shouldn't reference specific modules.
Usage
The Download namespace includes:
fromDataUrl()- given a data URL, automatically triggers a download in the browser with the suggested file nameobjectAsJson()- given any object, converts it to a JSON string downloaded as a text file with the suggested file name
