open-index/open-npm huggingface dataset:
npm package: @ionic/cloud-angular
Description: Ionic Cloud Client for Angular 2
Author: Ionic
Latest version: 0.12.0
Deprecated: Support for Ionic Cloud ended on January 31st, 2018. See https://ionicframework.com/pro

[![npm](https://img.shields.io/npm/v/@ionic/cloud-angular.svg?maxAge=2592000)](https://www.npmjs.com/package/@ionic/cloud-angular)

# Ionic Cloud Client for Angular 2

Angular 2 integration for the [Ionic Cloud
Client](https://github.com/driftyco/ionic-cloud). Check out [our
documentation](http://docs.ionic.io/).

## Issues

* For bugs and issues with this library specifically, feel free to post a github issue here.
* For issues with the Ionic API and/or the services, file a ticket [here](https://ionic.zendesk.com/hc/en-us/requests/new).

## Local Development

See the [`CONTRIBUTING.md`
file](https://github.com/driftyco/ionic-cloud-angular/blob/master/CONTRIBUTING.md).
npm package: @ionic/commit-hooks
Description: A useful pre-commit hook for ionic 2 source code
Author: Ionic Team
Latest version: 1.0.3

What is it?
-----------

Runs the test for Ionic 2.

> Note: This module is simply a wrapper around [git-validate](https://github.com/nlf/git-validate).



### WARNING: If you already have a `.git/hooks/pre-commit` file, this package will overwrite it.


Why should I use it?
--------------------

No one likes a messy code base. When working on a team, it becomes more and more difficult to make sure that your project's code stays consistent and error free. Since the hook can lint all of the project's code, based on your configuration, you can be sure that at the very least standards are being followed. It can also run build steps, unit tests, or any other script you like.

Having a tool that automates this process has been priceless for us, and has very much improved the quality of our code.
npm package: @ionic/discover
Description: Simple UDP based protocol for service discovery implemented in pure JS.
Author: Ionic Team
Latest version: 3.1.8

# Ionic Discover

Simple UDP based protocol for service discovery implemented in pure JS. It is
not mDNS or bonjour, but it tries to accomplish the same thing.

## Spec

It uses a JSON based textual format:

```ts
const message = {
  t: now,
  id: 'unique',
  name: this.name,
  host: os.hostname(),
  ip: iface.address,
  port: number1,
  commPort: number2
};

return 'ION_DP' + JSON.stringify(message);
```

| key        | description
|------------|-------------
| `t`        | unix timestamp in second
| `id`       | unique id for this session
| `name`     | name of the announced service
| `host`     | hostname of the machine announcing the service
| `ip`       | ipv4 address
| `port`     | tcp port of the announced service
| `commPort` | optional websocket port of the communication server

## Installation

```
npm install @ionic/discover
```

## Usage

```ts
import { Publisher } from '@ionic/discover';

const namespace = 'your-service';
const serviceName = 'Ionic thing!';
const tcpPort = 8100;
const service = new Publisher(namespace, serviceName, tcpPort);

await service.start();
```
npm package: @ionic/eslint-config
Description: Common eslint rules/preferences for Ionic.
Author: Ionic
Latest version: 0.4.0

# @ionic/eslint-config

Shared ESLint config used in Ionic and Capacitor projects.

This is meant to be used alongside Prettier (with [`@ionic/prettier-config`](https://github.com/ionic-team/prettier-config/)).

## Usage

1. Remove existing `.eslintrc.*` file, if present.
1. Install `eslint` and the config.

    ```
    npm install -D eslint @ionic/eslint-config
    ```

1. Add the following to `package.json`:

    ```
    "eslintConfig": {
      "extends": "@ionic/eslint-config/recommended"
    }
    ```

:memo: You can also use the base rule set: `@ionic/eslint-config`

### With Prettier and `@ionic/prettier-config`

1. Set up Prettier and [`@ionic/prettier-config`](https://github.com/ionic-team/prettier-config/).
1. When using with Prettier and `@ionic/prettier-config`, ESLint should run first. Set up your scripts in `package.json` like this:

    ```json
      "scripts": {
        "lint": "npm run eslint && npm run prettier -- --check",
        "fmt": "npm run eslint -- --fix && npm run prettier -- --write",
        "prettier": "prettier \"**/*.ts\"",
        "eslint": "eslint . --ext .ts",
      }
    ```

    - `npm run lint`: for checking if ESLint and Prettier complain
    - `npm run fmt`: attempt to autofix lint issues and autoformat code

    :memo: Not every rule in this configuration is autofixable, so `npm run fmt` may continue failing until lint issues are addressed manually.

### With Husky

1. Install [husky](https://github.com/typicode/husky):

    ```
    npm install -D husky
    ```

1. Add the following to `package.json`:

    ```
      "husky": {
        "hooks": {
          "pre-commit": "npm run lint"
        }
      },
    ```
npm package: @ionic/eslint-plugin
Description: ESLint plugin for Ionic with recommended configurations.
Author: Ionic
Latest version: 0.0.1
Deprecated: Please switch to @ionic/prettier-config and @ionic/eslint-config

# @ionic/eslint-plugin

Common ESLint rules & preferences for Ionic.

## Usage

### Install

```
npm i -D eslint @ionic/eslint-plugin
```

### Configure

Create `.eslintrc.js`, or otherwise configure ESLint to use the Ionic ESLint Plugin.

* You must manually configure `env` to setup your [ESLint environment](https://eslint.org/docs/user-guide/configuring#specifying-environments).
* You must manually configure `parserOptions` to point to your `tsconfig.json` and configure any additional options.

```js
module.exports = {
  env: {
    browser: true,
    node: true,
    es6: true,
  },
  parserOptions: {
    project: './tsconfig.json',
    ecmaFeatures: {
      jsx: true,
    },
  },
  plugins: ['@ionic'],
  extends: ['plugin:@ionic/recommended'], // or use `plugin:@ionic/strict`
  rules: {
    // additional rule configuration
  }
};
```

#### Flavors

* `plugin:@ionic/crucial`: Builds on top of `@typescript-eslint/recommended` and `eslint:recommended`.
* `plugin:@ionic/recommended`: Recommended set of rules.
* `plugin:@ionic/strict`: Stricter set of rules for very consistent code. Good for new projects.
npm package: @ionic/ionic-site-components
Description: Stencil components used by the websites belonging to the Ionic Framework team.
Author: Ionic Team
Latest version: 0.1.6

[![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)](https://stenciljs.com/)

# Ionic Site Components

This repo is a collection of Stencil components based on the [stencil component
starter](https://github.com/ionic-team/stencil-component-starter) for use on
ionicframework.com and other Ionic related websites.

# Stencil

Stencil is a compiler for building fast web apps using Web Components.

Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool.  Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.

Stencil components are just Web Components, so they work in any major framework or with no framework at all.

## Getting Started

```bash
npm install
npm start
```

To watch for file changes during develop, run:

```bash
npm run dev
```

To build the component for production, run:

```bash
npm run build
```
npm package: @ionic/jpml
Description: Wrap any file content within jsonp callback
Author: Ionic Team
Latest version: 0.0.5

# Simple JSONP Content Wrapper

We have a use case (Ionicons) where the browser needs to request svg content which can be loaded cross-origin, or from the `file://` protocol. This project will take a directory(s) of files and wrap file contents in a JSONP callback. This allows the JSONP handler to receive the text cross-origin.


```
import * as jpml from '@ionic/jpml`;


// generate jsonp callback files from a list of directories
jpml.generate({
  // array of all the paths to include
  include: ['some/input/path/'],

  // where all the output files will be saved
  outDir: 'some/output/path',

  // filter function to test which files to generate from
  filter: function(path) {
    // returns true if the path ends with ".svg"
    return path.split('.').pop() === 'svg';
  },

  // function to generate each file's content
  wrapper: function(content, key) {
    return 'loadContent("' + content + '", "' + key + '");'
  }
});
```
npm package: @ionic/ng-toolkit
Description: Utilities for ionic/angular v4+ apps, used by Ionic CLI
Author: Ionic Team
Latest version: 1.1.0
Deprecated: @ionic/ng-toolkit and @ionic/schematics-angular have merged into @ionic/angular-toolkit -- see https://github.com/ionic-team/starters/pull/487

# ionic/angular v4+ CLI Utility

Low-level utilities mostly for building/serving ionic/angular v4+ apps.
npm package: @ionic/node-pty-prebuilt
Description: Fork pseudoterminals in Node.JS
Author: Microsoft Corporation
Latest version: 0.9.1

# @ionic/node-pty-prebuilt

Parallel fork of [`node-pty`](https://github.com/microsoft/node-pty) that prebuilds binaries using Github Actions.

## Contributing

- Prefer upstream fixes
- Try not to modify files other than `README.md` and `.github/workflows/prebuild.yml`
- Configure prebuilt versions in `.github/workflows/prebuild.yml`

### Releasing

1. Pull `master` from [`microsoft/node-pty`](https://github.com/microsoft/node-pty) into `master` branch
1. Merge tagged release commits (e.g. [`0.9.0`](https://github.com/microsoft/node-pty/releases/tag/0.9.0)) into `prebuild` branch
    - Discard any conflicts in `README.md`
1. Push and wait for Github Actions to finish
    - This step creates a release in Github and uploads all the prebuilt binaries.
1. Run `npm publish` to release the new version

## License

Copyright (c) 2012-2015, Christopher Jeffrey (MIT License).<br>
Copyright (c) 2016, Daniel Imms (MIT License).<br>
Copyright (c) 2018, Microsoft Corporation (MIT License).<br>
Copyright (c) 2019, Ionic (MIT License).