Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
ngx-mat-lib
Advanced tools
A bunch of utilities and components to use in your Angular 5+ apps!
Angular Material is a complete tool. But there are ways to use come components which may come handy. For example xMatLib includes an SCSS library which provides common classes and mixins, that you can use in your app to drastically reduce duplicate code!
To install this library, run:
$ npm install ngx-mat-lib --save-dev
Once you have published your library to npm, you can import your library in any Angular application by running:
$ npm install ngx-mat-lib
and then from your Angular AppModule
:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import what you need from ngx-mat-lib
import { SampleModule } from 'ngx-mat-lib';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
// Specify the import
SampleModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Once your library is imported, you can use its components, directives and pipes in your Angular application:
<!-- You can now use your library component in app.component.html -->
<h1>
{{title}}
</h1>
<sampleComponent></sampleComponent>
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
##Thanks to
jvandemo with his generator-angular2-library
MIT © Tony Samperi
1.1.13
FAQs
A bunch of utilities and components to use in your Angular 7+ apps!
The npm package ngx-mat-lib receives a total of 14 weekly downloads. As such, ngx-mat-lib popularity was classified as not popular.
We found that ngx-mat-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.