open-index/open-npm huggingface dataset:
npm package: @laps.no/intl-tel-input
Description: Intl tel input stencil component
Author: LAPS AS
Latest version: 1.2.2

# @laps.no/intl-tel-input
Standalone web component of the [intl-tel-input](https://www.npmjs.com/package/intl-tel-input) package.
![Preview](https://i.imgur.com/jjeTw8B.png)

![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)

## Installation

### Standalone
```html
<script src='https://unpkg.com/@laps.no/intl-tel-input/dist/intl-tel-input.js'></script>
```

### Stencil JS
```bash
npm i '@laps.no/intl-tel-input'
```
```javascript
import '@laps.no/intl-tel-input';
```


## Usage
```html
<intl-tel-input id="numberInput"
                    name="phoneNumber"
                    required="false"
                    countries="no,de,gb" />
```

### Attributes
**name**
Name of the form input field.

**required**
Specifies if the field must be filled out before submitting the form.

**countries**
List of preffered countries as a comma-seperated string.

Default: `"no,se,dk,gb,us"`


### Public Methods
```javascript
const input = document.getElementById("numberInput");
```
**getNumber**  
Get the current number in the given format (defaults to [E.164 standard](http://en.wikipedia.org/wiki/E.164)). 
```js
const number = input.getNumber();
```
Returns a string e.g. `"+17024181234"`

**isValidNumber**  
Validate the current number 
```js
var isValid = input.isValidNumber();
```
Returns: `true`/`false`

**setCountry**  
Change the country selection (e.g. when the user is entering their address).  
```js
input.setCountry("gb");
```

**setNumber**  
Insert a number, and update the selected flag accordingly.
```js
input.setNumber("+447733123456");
```
npm package: @laps.no/ng-safe-pipes
Description: DOM sanitization pipes for angular.
Author: LAPS AS
Latest version: 1.0.0
Deprecated: Deprecated

SafePipesModule
===

> DOM sanitization pipes for angular.


Installation
---

```bash
npm i "@laps.no/ng-safe-pipes"
```

```typescript
import { SafePipesModule } from '@laps.no/ng-safe-pipes';
```

Usage
---
```html
<!-- safeHtml -->
<div [innerHtml]="unsafeHtmlVariable | safeHtml"></div>

<!-- safeUrl -->
<img [src]="unsafeImageUrlVariable | safeUrl" />

<!-- safeResourceUrl -->
<iframe [src]="unsafeResourceUrlVariable | safeResourceUrl"></iframe>

<!-- safeScript -->
<script [innerHtml]="unsafeScriptVariable | safeScript"></script>

<!-- safeStyle -->
<div [style.background-image]="unsafeStyleVariable | safeStyle"></div>
```
npm package: @laps.no/qr-code
Description: QR-Code stencil component
Author: LAPS AS
Latest version: 1.0.3
Deprecated: Deprecated

![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)

# QR Code
```
<script src='https://unpkg.com/@laps.no/qr-code@1.0.1/dist/qr-code.js'></script>
```

```
<qr-code value="encodedValue"></qr-code>
```
npm package: @laps.no/show-if-not-empty
Description: Show if not empty stencil component
Author: LAPS AS
Latest version: 1.0.2
Deprecated: Deprecated

![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)

# Show if not empty
```
<script src='https://unpkg.com/@laps.no/show-if-not-empty@lastest/dist/show-if-not-empty.js'></script>
```

```
<show-if-not-empty value="dsaffsdafsd">This will be shown</show-if-not-empty>

<show-if-not-empty value="">This will not be shown</show-if-not-empty>

<show-if-not-empty>This will not be shown</show-if-not-empty>
```
npm package: @lapsd/y
Description: y - Interactively manage all your Yarn versions
Author: Daniel Lapides
Latest version: 1.0.18

# `y` – Interactively manage your Yarn versions

[![npm](https://img.shields.io/npm/dt/@lapsd/y.svg?style=flat-square)](https://www.npmjs.com/package/@lapsd/y)
[![npm](https://img.shields.io/npm/dm/@lapsd/y.svg?style=flat-square)](https://www.npmjs.com/package/@lapsd/y)
[![npm](https://img.shields.io/npm/v/@lapsd/y.svg?style=flat-square)](https://www.npmjs.com/package/@lapsd/y)
[![npm](https://img.shields.io/npm/l/@lapsd/y.svg?style=flat-square)](https://www.npmjs.com/package/@lapsd/y)

<p align="center"><img alt="Node.js" src="./y-logo.png" width="200" /></p>

## Installation

Since you probably already have `node`, the easiest way to install `y` is through `npm`:

    npm install -g @lapsd/y

## Switching versions

Switching from a version to another:

    y

## Adding specifying versions

There are a variety of ways of specifying the target yarn version for `y` commands. Most commands use the latest matching version.

Numeric version numbers need to be complete:

- `1.22.4`

There are labels for versions:

- `latest`: newest official release

## Removing versions

Remove some cached versions:

    y rm 0.27.5

Removing all cached versions except the current version:

    y prune

## For more help

Check all available commands:

    y --help