open-index/open-npm huggingface dataset:
npm package: @nyby/meteor-react-js
Description: Full Meteor Client for React JS
Latest version: 1.4.2

# Meteor React JS

This package is based on the `@meteorrn/core` package for React Native. 
Some little adjustments to make it work in the browser. All credits for the 
awesome work should go to the maintainers of the original package for React Native. 
Feel free to comment, contribute and fix. A hook version 
called `Meteor.useTracker` is also available.

A set of packages allowing you to connect your React app to your Meteor server, 
and take advantage of Meteor-specific features like accounts, reactive data 
trackers, etc. Compatible with the latest version of React.

[Full API Documentation](/docs/api.md)

## Installation

~~~
npm install --save @nyby/meteor-react-js
~~~

## Basic Usage

```javascript
import Meteor from '@nyby/meteor-react-js';

// "mycol" should match the name of the collection on your meteor server
let MyCol = new Meteor.Mongo.Collection('mycol');

// Note the /websocket after your URL
Meteor.connect('wss://myapp.meteor.com/websocket'); 

class App extends React.Component {
  render() {
    let { myThing } = this.props;

    return (
      <div>
        <span>Here is the thing: {myThing.name}</span>
      </div>
    );
  }
}

let AppContainer = Meteor.withTracker(() => {
  Meteor.subscribe('myThing');
  let myThing = MyCol.findOne();

  return {
    myThing,
  };
})(App);

export default AppContainer;
```

## Custom hooks

There are also custom hooks for managing subscriptions and calling Meteor methods implemented.

### Meteor.usePublication

```javascript
const [data, loading] = Meteor.usePublication({
  name: 'publication.name',
  params: { id: _id },
  fetch: () => MyCol.findOne({ _id: id }),
});
```

### Meteor.useMethod

```javascript
const { result, loading } = Meteor.useMethod('method.name', { id: _id });
```
npm package: @nyby/posthog-node
Description: PostHog Node.js integration
Author: PostHog
Latest version: 2.5.2

# PostHog Node.js

Please see the main [PostHog docs](https://www.posthog.com/docs).

Specifically, the [Node.js integration](https://posthog.com/docs/integrate/server/node) details.

## Questions?

### [Join our Slack community.](https://join.slack.com/t/posthogusers/shared_invite/enQtOTY0MzU5NjAwMDY3LTc2MWQ0OTZlNjhkODk3ZDI3NDVjMDE1YjgxY2I4ZjI4MzJhZmVmNjJkN2NmMGJmMzc2N2U3Yjc3ZjI5NGFlZDQ)
npm package: @nyby/redux-dynamic-modules-saga
Description: Saga Extension for redux-dynamic-modules
Author: Navneet Gupta
Latest version: 5.3.19

## Install

Run

```
npm install redux-dynamic-modules-saga
```

or

```
yarn add redux-dynamic-modules-saga
```

## Usage

-   Create a module with the following format

```typescript
export function getUsersModule(): ISagaModule<IUserState> {
    return {
        id: "users",
        reducerMap: {
            users: usersReducer,
        },
        sagas: [userSagas],
        // Actions to fire when this module is added/removed
        // initialActions: [],
        // finalActions: [],
    };
}
```

-   Create a `ModuleStore`

```typescript
import { createStore, IModuleStore } from "redux-dynamic-modules";
import { getSagaExtension } from "redux-dynamic-modules-saga";
import { getUsersModule } from "./usersModule";

const store: IModuleStore<IState> = createStore(
  {
    initialState: {},
    enhancers: [],
    extensions: [getSagaExtension({} /* saga context */)],
  },
  getUsersModule()
  /* ...any additional modules */
);
```