@dlr-eoc/utils-browser
@dlr-eoc/utils-browser
npm i @dlr-eoc/utils-browser
@dlr-eoc/utils-browser

@dlr-eoc/utils-browser

A collection of angular ui-components, services, interfaces... to help you create geospatial mapping applications for the web.

by dlr-eoc

9.0.0 (see all)License:Apache-2.0TypeScript:Built-In
npm i @dlr-eoc/utils-browser
Readme

@dlr-eoc/utils-browser

This library contains a collection of utilities that do not themselves depend on angular.

Download

A few utilities that save us some boilerplate for downloading data to a file.

  • downloadJson
  • downloadBlob
  • downloadUrl

Layout

  • Page: A utility class intended to help with getting the dimensions of a paper

Development

The utils libraries are all designed to have no production dependencies on angular. The primary objective here is to create utilities that can be used in other frameworks or framework-independent. Such utilities might take on the form of libraries of webcomponents.

Inspired by clarity-design's shift to a framework-independent core, we strive to make those utilities available outside of angular, while at the same time cause minimal disruptions in the current usage of all those outsourced tools.

We intend to obtain this goal by:

  • Minimal disruptions to the current usage: When a components or parts of them are moved to a utils-library, we maintain a wrapper that keeps the angular-template syntax. We strive to minimize breaking changes.
  • Minimal external dependencies: We hope to make our utils as atomic as possible, meaning that we'll avoid external dependencies where possible. We will, of course, still use very important libraries like openlayers, but avoid others that are less vital.
  • Unopinionated: These utilities are intended to be used in any framework. As such, we try to avoid any Angular- or UKIS-specific idioms that might not fit in with another users idea of how a certain tool is best used.
  • Gradual transition: As UKIS matures, we will move more and more functionality out of angular-components and into utility-libraries.
  • Keeping up with web-standards: One core motivation for the creation of the utils-libraries was our objective of using some functionality of Ukis within other applications (like static site generators, django, CMS etc) as web components. As a consequence, we intend to design the utilities with modern web-standards and -api's in mind.

Downloads/wk

31

GitHub Stars

12

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

13

OPEN ISSUES

14

OPEN PRs

0
VersionTagPublished
9.0.0
latest
4mos ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate