open-index/open-npm huggingface dataset:
npm package: @orygoo/orygoo-sdk
Description: javascript sdk
Author: Clement
Latest version: 0.1.17

# 📦 JavaScript SDK for Orygoo

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

## Installation

Clone this repo and npm install.

```bash
npm i @orygoo/orygoo-sdk
```

## Web

Initializing the Orygoo SDK key

```js
const OrygooManager = require('@`orygoo/orygoo-sdk');

const orygoo = new OrygooManager();

orygoo.createInstance({
  clientKey: '<YOUR_CLIENT_KEY>',
  secretKey: '<YOUR_SECRET_KEY>'
});
```
Initialize

```js
orygoo.initialize(
  'userId', 
  'clientSessionId', 
  'clientVersion', 
  'email', 
  'phone_number', 
  'language', 
  'country'
  ).then(
    res => {
      //success or error
    }
)
```
Get Variants

```js
orygoo.getVariants(['namespace'], ['default_value']).then(
    res => {
      //your logic here
    }
)
```
Track Events

```js
orygoo.trackEvent(
  'eventName', 
  'metaData', 
  'monetaryValue', 
  'value'
)
```

## AndroidJs
Initializing the Orygoo SDK key on main.js

```js
const OrygooManager = require('@orygoo/orygoo-sdk');

const orygoo = new OrygooManager();

orygoo.createInstance({
  clientKey: '<YOUR_CLIENT_KEY>',
  secretKey: '<YOUR_SECRET_KEY>'
});
```
Initialize

```js
back.on("initialize", function(){
  orygoo.initialize(
    'userId', 
    'clientSessionId',
    'clientVersion', 
    'email', 
    'phone_number', 
    'language', 
    'country'
  ).then(res => {
        //your logic here
  })
});
```
Get Variants

```js
back.on("getVariants", function(){
  orygoo.getVariants(['namespace'], ['default_value']).then(
      res => {
        //your logic here
      }
  )
});
```
Track Events

```js
back.on("getVariants", function(){
  orygoo.trackEvent(
    'eventName', 
    'metaData',
    'monetaryValue', 
    'value'
  )
});
```

## Author

- [Orygoo](https://www.orygoo.com)
npm package: @oryono/react-paginator
Description: Paginator for react.js
Author: Patrick Oryono
Latest version: 0.2.5

## react-paginator ![npm version](https://img.shields.io/npm/v/@oryono/react-paginator.svg?style=flat)

The way you use it is similar to Laravel's paginator.

## Installation

### Through npm
``` bash
npm install @oryono/react-paginator --save
```

## Usage

```js
import Paginator from '@oryono/react-paginator'
import React, { Component } from 'react'
import getUsers from './actions'

class ComponentName extends Component {
    // Your page handler could be something like this
    handlePageChange = page => {
        getUsers(page);
    };
    render () {
        return (
            <React.Fragment>
                  <Users />
                  <Paginator
                      totalCount={50}  /*This is the total number of items */
                      currentPage={1} /* Current page as from the api */
                      pageSize={10} /* Page size */
                      onPageChange={ this.handlePageChange } /* This is what happens when a page is clicked */
                  />
            </React.Fragment>

        )
                
    }
                
}
```

## That's it.
You should consider contributing to this noble cause 😜
npm package: @oryxcommerce/scheduler
Description: Oryx scheduler for our Bull.js & Google PubSub
Author: David Lemarier
Latest version: 1.1.1

# Oryx scheduler

```
const { postMessage } = require("@oryxcommerce/scheduler");

postMessage({
  data: {
    url: "https://google.com"
  },
  options: {
    delay: 'in 5 minutes',
    pubsub: {
      projectId: "PUBSUB PROJECT ID",
      topic: "hello"
    },
    bull: {
      queueName: "pubsub",
      redis: "redis://127.0.0.1:6379"
    }
  }
})
  .then(data => {
    console.log("DONE", data);
  })
  .catch(err => {
    console.log(err);
  });


```
npm package: @oryxqa/types
Description: API type definitions
Author: Husnul Aman
Latest version: 7.6.11

# Oryxqa/types

### Adding new types
- Add fields to the existing types or add new type def files for new entities
- Add (?) operator to the nullable fields
> @Column({ nullable: true })
> subsidy_value: number; 
> should be
> subsidy_value?:number

- Add (?) operator to the relationship fields
> @OneToMany(
>   () => ScholarshipApplication,
>   (application: ScholarshipApplication) => application.finalized_scholarship,
> )
> finalized_applications: ScholarshipApplication[];
> should be
> finalized_applications?: ScholarshipApplication[]
- Avoid enums and use typescript union types
> export enum Status {
>   SUBMITTED = 'Submitted',
>   PROCESSING = 'Processing',
>   GRANTED = 'Granted',
>   REFUSED = 'Refused',
> }
> @Column({ nullable: true, enum: Status, default: Status.SUBMITTED })
> status: Status;
> should be
> status: 'Submitted' | 'Processing' | 'Granted' | 'Refused'

### Publishing
- Increment the version in package.json file
- Run `npm run publish`
> Ignore the npm error after running this command. It should work.

### Post Publishing
- Commit code to the version control
- Fresh install the new version from the projects where this library is being used