open-index/open-npm huggingface dataset:
npm package: @memnrev/web-topline
Description: Topline widget for mem'n'rev web applications
Latest version: 0.6.0

# @memnrev/web-topline

Topline widget for mem'n'rev web applications.

## Usage Example

```jsx
import { useCallback } from 'react';
import WebTopline, {
  ToplineService,
  ToplineUser,
} from '@memnrev/web-topline';

export default function Topline(): JSX.Element {
  const handleReady = useCallback(
    async(toplineService: ToplineService, toplineUser: ToplineUser | null) => {
      toplineService
        .on('userChange', user => {
          //
        })
        .on('logout', () => {
          //
        })
        .on('syncNotification', syncId => {
          //
        });

      // Use toplineService and toplineUser somehow else
    },
    [],
  );

  return (
    <WebTopline
      onReady={handleReady}
      onError={(err: Error) => {/* Handle the error */}}
    />
  );
}
```

## API Reference

Refer to the file `index.d.ts`.
npm package: @memnrev/widget-loader
Description: Webpack loader for replacing imports of widgets with ones of needed language
Latest version: 0.2.0

# @memnrev/widget-loader

Webpack loader for replacing imports of widgets with ones of needed language.

The loader replaces entries of the form `@memnrev/widget-name/en/index.js` in the code with
`@memnrev/widget-name/lang/index.js`;

## Usage Example

```javascript
// webpack.config.js

const path = require('path');

module.exports = {
  // ...
  module: {
    rules: [
      {
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        use: [
          {
            loader: '@memnrev/widget-loader',
            options: {
              widgets: [
                '@memnrev/widget-one/en/index.js',
                '@memnrev/widget-two/en/index.js',
              ],
              placeholderLang: 'en',
              currLang: 'ru',
            },
          },
        ],
      },
    ],
  },
};
```
npm package: @memo.js/client
Description: Notebook will be an NPM command line tool, used to set up and run a React SPA in your browser. The app itself will let you create and destroy notes, and attach those to a CodePen-esque in browser DeveloperEnvironment to create and save complex code snippe
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# App coming soon!

Notebook will be an NPM command line tool, used to set up and run a React SPA in your browser. The app itself will let you create and destroy notes, and attach those to a CodePen-esque in browser DeveloperEnvironment to create and save complex code snippets.