New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ng-object-to-html

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-object-to-html

Angular component for parsing object to html.

latest
npmnpm
Version
0.0.12
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NG Object to HTML

Installation:

npm i ng-object-to-html

Import and include it in your Angular project:

import { NgObjectToHtmlModule } from 'ng-object-to-html';
...
@NgModule({
    ...
    imports: [
        ...
        NgObjectToHtmlModule
    ],
    ...
})

Example:

example.component.ts

@Component({
  template: `<lib-ng-object-to-html [item]="testObject"></lib-ng-object-to-html>`
})
export class ExampleComponent {
  // Example object
  testObject = {
    a: '1',
    items: [
      { b: 1 },
      [1, 2, 3]
    ]
  }
}

Keywords

angular

FAQs

Package last updated on 24 Apr 2019

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