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

@wolf_and_associates/article

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wolf_and_associates/article

Render Articles for end-users. This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.14.

  • 0.5.4
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Article

Render Articles for end-users. This library was generated with Angular CLI version 11.2.14.

Code scaffolding

Run ng generate component component-name --project Article to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project Article.

Note: Don't forget to add --project Article or else it will be added to the default project in your angular.json file.

Use in production

Install the library from NPM

npm i --save @wolf_and_associates/article

Next, in your app.module.ts file, import the library at the top of the file:

import { ArticleModule } from '@wolf_and_associates/article';

Then in your template you can use the wolfltc-article directive

<wolfltc-article [article]="article"></wolfltc-article>

This directive requires you provide a valid Article object. To do that, import the Article class in your template:

import { Article } from '@wolf_and_associates/article';

Then you create a new object:

this.article = new Article(article);

Use in Development

Instead of installing from NPM you will need to include a locally installed folder path on your machine. Assuming this repo is in the same directory as the projects you are currently running you would edit your package.json file to include this library:

    "@wolf_and_associates/article": "file:../wolfltc-ngx/dist/article",

Once added to your target repositories package.json you should spin up the library

ng build --project Article --watch

Now that the library is being served, you can use npm i on your target project followed by an ng serve or whatever command is now serving that repo.

FAQs

Package last updated on 28 Dec 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