@giancosta86/marinero
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

marinero

TypeScript utilities for the browser

GitHub CI npm version MIT License

Overview

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 name

  • objectAsJson() - given any object, converts it to a JSON string downloaded as a text file with the suggested file name

Package Sidebar

Install

npm i @giancosta86/marinero

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

7.33 kB

Total Files

13

Last publish

Collaborators

  • giancosta86