Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngx-metaui/rules

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-metaui/rules

Rule driven UI for Angular

  • 11.1.0-beta.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Rules directory

This directory contains user defined OSS rules that are compiled by our proprietary OSS parser into the ./ts directory (ts stands for typescript).

All these rules are references and exported by user-rules.ts file which is registered inside application module for later use.

ex:

   import * as userRules from './rules/user-rules';

    @NgModule({
     ...
    })
    export class AppModule {
    
      constructor(private config: MetaConfig) {
        let rules: any[] = config.get('metaui.rules.user-rules') || [];
        rules.push(userRules);
        config.set('metaui.rules.user-rules', rules);
      }
    }

The reason for this is that our rule engine need a way how to lazily pre-load some dynamic content fast depending on certain path or name.

Please check out High Level Architecture.

FAQs

Package last updated on 30 Apr 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc