@genericmedia/lib
v1.8.2
Published
A library for building data-intensive web applications
Downloads
19
Maintainers
Readme
@genericmedia/lib
A library for building data-intensive web applications.
- commander - Declarative reactivity.
- commands - A collection of custom commands.
- dsv - Easy & fast DSV parsing and formatting.
- elements - Custom elements using commander and state.
- requester - Easy & reactive URL fetching.
- scroller - Smooth scrolling through tabular data.
- state - State management.
- util - Utility functions.
Installation
npm add @genericmedia/libpnpm add @genericmedia/libyarn add @genericmedia/libUsage
// ESM local import
import { parseDsvStream } from "@genericmedia/lib"// ESM remote import
import { parseDsvStream } from "https://cdn.jsdelivr.net/npm/@genericmedia/lib/+esm"// UMD local require
const gm = require("@genericmedia/lib")<!-- UMD remote script, "gm" is globally available -->
<script src="https://cdn.jsdelivr.net/npm/@genericmedia/lib/dist/index.min.js"></script>It is also possible to use subpaths for commander, commands, dsv, elements, requester, scroller, state and util.
// ESM local import
import { parseDsvStream } from "@genericmedia/lib/dsv"<!-- UMD remote script, "gm" is globally available -->
<script src="https://cdn.jsdelivr.net/npm/@genericmedia/lib/dist/dsv.min.js"></script>License
This library is released under the MIT License.
