open-index/open-npm huggingface dataset:
npm package: 3scale-senico
Description: Client for 3Scale Networks API
Author: 3scale
Latest version: 0.3.3

# 3scale integration plugin for JavaScript/CoffeeScript/Node.js applications [![Build Status](https://secure.travis-ci.org/3scale/3scale_ws_api_for_nodejs.png?branch=master)](http://travis-ci.org/3scale/3scale_ws_api_for_nodejs)

3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management.
Includes a configurable API dashboard and developer portal CMS.
More product stuff at http://www.3scale.net/, support information at http://support.3scale.net/.

#### Requirements

* libxml2 library

#### Installation

The module is delivered through the package manager npm, so that the installation should be easy as: `npm install 3scale`

#### Testing

To run tests: `vows test/* --spec`

In the root of the project.

#### Usage

    var Client = require('3scale').Client;

    client = new Client("your provider key");

    client.authorize({app_id: "your application id", app_key: "your application key"}, function(response){
      sys.log(sys.inspect(response));
    });

    // Or for reports

    var trans = [
                  { "app_id": "your application id", "usage": {"hits": 1}},
                  { "app_id": "your application id", "usage": {"hits": 1000}}
                 ]

    client.report(trans, function(response){
      sys.log(sys.inspect(response));
    });
npm package: 3settings
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Latest version: 0.0.1

# Settings

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

## Code scaffolding

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

## Build

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

## Publishing

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

## Running unit tests

Run `ng test settings` 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.

## Implementation example
```
    export interface Option {
    id: string,
    name: string,
    checked: boolean
    }

    options: Option[] = [
        {
            id: "push_notifications",
            name: "Push notifications",
            checked: false
        },
        {
            id: "quick_access",
            name: "Quick access",
            checked: false
        }
    ]

    <emp-settings 
    (toggleCheckChanged)="onToggleChanged($event)" 
    [options]="options">
    </emp-settings>
```


## Properties

| Property             | Description                                                    | Type       | Default         |
| -------------------- | -------------------------------------------------------------- | ---------- | --------------- |
| `id`                 | ID to get the item from toggleCheckChanged.                    | `string`   | _empty_         |
| `name`               | Settings option name.                                          | `string`   | `Default Label` |
| `checked`            | Boolean to indicate the toggle status.                         | `boolean`  | `false`         |

## Events

| Event                | Description                                        | Type                                             |
| -------------------- | -------------------------------------------------- | ------------------------------------------------ |
| `toggleCheckChanged` | Method to grab the toggle event                    | `CustomEvent<{ id: string, checked: boolean }>`  |