open-index/open-npm huggingface dataset:
npm package: @smartco/material-select
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.0.
Latest version: 0.0.4

# MaterialSelect

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.0.

## Code scaffolding

Run `ng generate component component-name --project material-select` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project material-select`.
> Note: Don't forget to add `--project material-select` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build material-select` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build material-select`, go to the dist folder `cd dist/material-select` and run `npm publish`.

## Running unit tests

Run `ng test material-select` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @smartcodelab/ngx-highlightjs
Description: > This is Angular (version 6+) Directive, Highlights the code with appropriate CSS. > This uses the core "highlightjs" Javascript Module
Latest version: 0.0.5

# @smartcodelab/ngx-highlightjs

> This is Angular (version 6+) Directive, Highlights the code with appropriate CSS.
> This uses the core "highlightjs" Javascript Module


## Installation

Install highlightjs and @smartcodelab/ngx-highlightjs library. Use Below commands:

```bash
$ npm install highlightjs @smartcodelab/ngx-highlightjs @smartcodelab/ngx-prettify--save
or
$ yarn add highlightjs @smartcodelab/ngx-highlightjs @smartcodelab/ngx-prettify
```

## Consuming @smartcodelab/ngx-highlightjs library

In your Angular `AppModule`: (or other Module as required by your project)

```typescript
import { NgxHighlightjsModule } from '@smartcodelab/ngx-highlightjs';


@NgModule({
  imports: [
    /* Along with import of all other Modules...*/

    NgxHighlightjsModule
  ]
})
export class AppModule {}
```
Once your library is imported, you can use it in your Angular component.

In .html file

```html
<div>
  <h4> This is highlightjs Example using directive of @smartcodelab/ngx-highlightjs</h4>
  <pre><code highlight [textContent]='code'></code></pre>
</div>
```
In .ts file

```typescript
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {

  code = `
  <!DOCTYPE html><title>Title</title><style>body {width: 500px;}</style>
  <script type="application/javascript">function $init() {return true;}</script>
  <body><p checked class="title" id='title'>Title</p>
    <!-- here goes the rest of the page --></body>`;

  constructor() {}

}
```
In style.scss file import the necessary style as per your requirements.
```style.scss

@import "~highlightjs/styles/monokai-sublime.css";

```

## License

MIT

[npm-url]: https://www.npmjs.com/package/@smartcodelab/ngx-highlightjs