Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

geonetwork-ui

Package Overview
Dependencies
Maintainers
1
Versions
625
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geonetwork-ui

## What is it?

Source
npmnpm
Version
2.2.0-dev.1189d390
Version published
Weekly downloads
1.4K
113.44%
Maintainers
1
Weekly downloads
 
Created
Source

GeoNetwork-UI NPM Package

What is it?

This package contains many of the features available in the GeoNetwork-UI project.

Its contents are:

  • all the libraries in the libs folder
  • all translations
  • various configuration files

This package does not contain:

  • applications (Datahub, etc.)
  • unit and E2E tests
  • docker composition
  • documentation
  • anything related to NX

How can I use it?

This is what using this package looks like in an Angular application:

// ...
import {
  UiElementsModule,
  UiInputsModule,
  UiWidgetsModule,
  provideRepositoryUrl,
  ThemeService,
} from 'geonetwork-ui'

@NgModule({
  imports: [
    // ...
    UiWidgetsModule,
    UiElementsModule,
    UiInputsModule,
  ],
  providers: [
    // ...
    provideRepositoryUrl('http://localhost:8080/geonetwork/srv/api'),
  ],
  bootstrap: [AppComponent],
})
export class AppModule {
  constructor() {
    ThemeService.applyCssVariables('#e73f51', '#c2e9dc', '#212029', '#fdfbff')
  }
}

Please read the documentation on how to create a Custom Application for more information!

FAQs

Package last updated on 13 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts