open-index/open-npm huggingface dataset:
npm package: @inward/core
Description: LoopBack 4 core
Author: Inwio
Latest version: 2.8.0

# @inward/core

LoopBack makes it easy to build modern applications that require complex
integrations.

## Overview

- Fast, small, powerful, extensible core
- Generate real APIs with a single command
- Define your data and endpoints with OpenAPI
- No maintenance of generated code

## Installation

```shell
$ npm install --save @inward/core
```

## Basic Use

`@inward/core` provides the foundation for your LoopBack app, but unlike
previous versions, it no longer contains the implementation for listening
servers.

For a typical example of how to create a REST server with your application, see
the
[@inward/rest package.](https://github.com/inwio/inward/tree/master/packages/rest)

## Advanced Use

Since `@inward/core` is decoupled from the listening server implementation,
LoopBack applications are now able to work with any component that provides this
functionality.

```ts
// index.ts
import {Application} from '@inward/core';
import {RestComponent} from '@inward/rest';
import {GrpcComponent} from '@inward/grpc';

const app = new Application({
  rest: {
    port: 3000,
  },
  grpc: {
    port: 3001,
  },
});
app.component(RestComponent); // REST Server
app.component(GrpcComponent)(
  // GRPC Server

  async function start() {
    // Let's retrieve the bound instances of our servers.
    const rest = await app.getServer<RestServer>('RestServer');
    const grpc = await app.getServer<GrpcServer>('GrpcServer');

    // Define all sorts of bindings here to pass configuration or data
    // between your server instances, define controllers and datasources for them,
    // etc...
    await app.start(); // This automatically spins up all your servers, too!
    console.log(`REST server running on port: ${rest.getSync('rest.port')}`);
    console.log(`GRPC server running on port: ${grpc.getSync('grpc.port')}`);
  },
)();
```

In the above example, having a GRPC server mounted on your Application could
enable communication with other GRPC-enabled microservices, allowing things like
dynamic configuration updates.

## Contributions

- [Guidelines](https://github.com/inwio/inward/blob/master/docs/CONTRIBUTING.md)
- [Join the team](https://github.com/inwio/inward/issues/110)

## Tests

Run `npm test` from the root folder.

## Contributors

See [all contributors](https://github.com/inwio/inward/graphs/contributors).

## License

MIT
npm package: @inward/eslint-config
Description: Shared configuration for ESLint
Author: Inwio
Latest version: 8.1.0

# @inward/eslint-config

Shared ESLint config to enforce a consistent code style for LoopBack development

## Installation

```shell
npm install --save @inward/eslint-config

npm install --save-dev \
eslint \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint-config-prettier \
eslint-plugin-eslint-plugin \
eslint-plugin-mocha
```

## Basic Use

Add `.eslintrc.json` file to your project, for example:

```json
{
  "extends": "@inward/eslint-config"
}
```

**NOTE**:

Due to
[the limitation of how ESLint plugins are loaded](https://github.com/eslint/rfcs/tree/master/designs/2018-simplified-package-loading),
the [peerDependencies](package.json) of this module should be added to
`devDependencies` of your `package.json`.

## Contributions

- [Guidelines](https://github.com/inwio/inward/blob/master/docs/CONTRIBUTING.md)
- [Join the team](https://github.com/inwio/inward/issues/110)

## Contributors

See [all contributors](https://github.com/inwio/inward/graphs/contributors).

## License

MIT
npm package: @inward/service-proxy
Description: Service integration for LoopBack 4
Author: Inwio
Latest version: 2.4.0

# @inward/service-proxy

This module provides a common set of interfaces for interacting with service
oriented backends such as REST APIs, SOAP Web Services, and gRPC microservices.

## Installation

```
$ npm install @inward/service-proxy
```

## Basic use

See https://inward.io/doc/en/lb4/Calling-other-APIs-and-web-services.html

## Contributions

- [Guidelines](https://github.com/inwio/inward/blob/master/docs/CONTRIBUTING.md)
- [Join the team](https://github.com/inwio/inward/issues/110)

## Tests

run 'npm test' from the root folder.

## Contributors

See [all contributors](https://github.com/inwio/inward/graphs/contributors).

## License

MIT
npm package: @inway/meteor-random
Description: NPM version of Meteor's Random
Author: inway
Latest version: 1.2.4

# @inway/meteor-random [![CodeQL](https://github.com/inway/meteor-random/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/inway/meteor-random/actions/workflows/codeql-analysis.yml)

This is a direct port of Meteor's `random` package to Typescript focused on
server side usage outside Meteor code.

Versions from 1.2.0 require Node.js 16.14 or higher to work, when you need to
support Node.js 14, use 1.1.6 (`@inway/meteor-random@legacy`).

[Documentation](https://inway.github.io/meteor-random/)

## Original content from Meteor's package README

[Source code of released version](https://github.com/meteor/meteor/tree/master/packages/random) | [Source code of development version](https://github.com/meteor/meteor/tree/devel/packages/random)

---

The `random` package provides several functions for generating random
numbers. It uses a cryptographically strong pseudorandom number generator when
possible, but falls back to a weaker random number generator when
cryptographically strong randomness is not available (on older browsers or on
servers that don't have enough entropy to seed the cryptographically strong
generator).

- `Random.id([n])` - Returns a unique identifier, such as `"Jjwjg6gouWLXhMGKW"`, that is
  likely to be unique in the whole world. The optional argument `n`
  specifies the length of the identifier in characters and defaults to 17.

- `Random.secret([n])` - Returns a random string of printable characters with 6 bits of
  entropy per character. The optional argument `n` specifies the length of
  the secret string and defaults to 43 characters, or 256 bits of
  entropy. Use `Random.secret` for security-critical secrets that are
  intended for machine, rather than human, consumption.

- `Random.fraction()` - Returns a number between 0 and 1, like `Math.random`.

- `Random.choice(arrayOrString)` - Returns a random element of the given array or string.

- `Random.hexString(n)` - Returns a random string of `n` hexadecimal digits.
npm package: @inway/observable-hooks
Description: Implementation of MutationObserver & ResizeObserver as React hooks
Author: Sebastian Podjasek
Latest version: 1.0.1-2

# @inway/observable-hooks

This package provides React hooks implementation for following observers:

- [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)
- [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe)
npm package: @inwebo-trustbuilder/poc-registry-npmjs-org
Description: Create npm library and publish to npm repository
Author: inWebo Technologies
Latest version: 1.1.0

Create npm library and publish to npm repository
================================================

Getting started
---------------

### Requirements

* [Node Version Manager](https://github.com/nvm-sh/nvm)


### Installation

```bash
$ git clone https://<INWEBO_GITLAB_HOST>/poc/devops/poc-registry-npmjs-org.git
$ nvm install
$ nvm use
$ npm install
```

Documentation
-------------

Blabla blabla
npm package: @inwy/angular-gtag
Description: A simple Google Analytics [gtag.js](https://developers.google.com/analytics/devguides/collection/gtagjs/) package for Angular.
Author: Jeff Delaney
Latest version: 1.0.3

# Angular gtag.js

A simple Google Analytics [gtag.js](https://developers.google.com/analytics/devguides/collection/gtagjs/) package for Angular. 

## Install

```
npm install angular-gtag --save
```

Add the the tracking code from GA admin dashboard to `index.html` and set *send_page_view* to false.

```html
<head>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-YOUR_TRACKING_ID', { 'send_page_view': false });
</script>

</head>
```

Add the package to to your `app.module.ts`. 

```ts
import { GtagModule } from 'angular-gtag';

@NgModule({
  imports: [
    GtagModule.forRoot({ trackingId: 'UA-YOUR_TRACKING_ID', trackPageviews: true })
  ]
})
```

## Pageviews

The package will listen to route changes by default, you just need to instantiate service in the root of the project. 

```ts
export class AppComponent {
  constructor(gtag: Gtag) { }
}
```

Gtag is a serivce that also allows you to track pageviews manually. 

```ts
gtag.pageview();

// or with custom params

gtag.pageview({ 
  page_title: 'Lesson Feed',
  page_path: '/lessons',
  page_location: 'https://angularfirebase.com/lessons'
});
```

## Events

[Events](https://developers.google.com/analytics/devguides/collection/gtagjs/events) expect an action. 

```ts
gtag.event('view_promotion')
```

You can optionally pass in addtional params.


```ts
gtag.event('login', { 
  method: 'Instagram',
  event_category: 'engagemnt',
  event_label: 'New user logged in via OAuth'
});
```


## Event Directive

Many analytics events are tracked based on user interaction, such as button clicks. Just tell it which DOM event to track.  

```html
<button gtagEvent trackOn="click">Track Me</button>
```

This will register a general event in GA based on the event name.

![](https://firebasestorage.googleapis.com/v0/b/firestarter-96e46.appspot.com/o/assets%2Fevent-gtag.png?alt=media&token=8f70e408-0300-472b-ab99-75893bef26fb)

You can pass optional params to the directive like so:

```html
<div gtagEvent
     trackOn="dragstart" 
     action="product_dragged"
     category="ecommerce" 
     [params]="{ event_label: 'Something cool just happened' }">

   Some Product...
   
</div>
```

The directive will produce the following event on dragstart. 
![](https://firebasestorage.googleapis.com/v0/b/firestarter-96e46.appspot.com/o/assets%2Fevent-gtag2.png?alt=media&token=213e2c60-6892-42a9-ac21-e828114e423a)
npm package: @inxconnect/mailosaur
Description: Mailosaur API client library.
Author: Mailosaur Ltd
Latest version: 5.0.8

# Mailosaur Node.js Client Library

[Mailosaur](https://mailosaur.com) allows you to automate tests involving email. Allowing you to perform end-to-end automated and functional email testing.

[![Build Status](https://travis-ci.org/mailosaur/mailosaur-node.svg?branch=master)](https://travis-ci.org/mailosaur/mailosaur-node)

## Installation

### Install Mailosaur via npm

```
npm install mailosaur --save-dev
```

## Documentation and usage examples

[Mailosaur's documentation](https://mailosaur.com/docs) includes all the information and usage examples you'll need.

## Running tests

Once you've cloned this repository locally, you can simply run:

```
npm install

export MAILOSAUR_API_KEY=your_api_key
export MAILOSAUR_SERVER=server_id

npm test
```

## Contacting us

You can get us at [support@mailosaur.com](mailto:support@mailosaur.com)
npm package: @inxeoz/mongoose-auto-increment
Description: Mongoose plugin to automatically increment a specified field.
Author: inxeoz
Latest version: 1.0.8

# Mongoose Auto-Increment Plugin

This is a Mongoose plugin for auto-incrementing field values in MongoDB documents. It provides automatic sequence generation for specified fields, such as generating unique IDs or other sequential values. The plugin works by maintaining a counter in a separate `Counter` collection and increments the value as needed.

## Features

- Automatically increments a field value for each new document.
- Supports both single document inserts and bulk inserts (`insertMany`).
- Configurable to track sequences for different models and fields.
- Uses a `Counter` schema to track the current value of the sequence.

## Installation

Install the plugin via npm:

```bash
npm i @inxeoz/mongoose-auto-increment
npm package: @inyono/copyright-headers
Description: A configurable Node.js utility to keep your copyright headers up to date.
Author: Jonas Keinholz
Latest version: 0.2.0

# copyright-headers

A configurable Node.js utility to keep your copyright headers up to date.

Documentation WIP, see [`scripts/license-headers.ts`](scripts/license-headers.ts) as an example for now.