open-index/open-npm huggingface dataset:
npm package: @momenta/react-modal-manager
Description: ## Usage
Latest version: 0.3.0

# react-modal-manager

## Usage

```js
import { Button, Modal } from 'antd'
import ReactModalManager, { showModal, closeModal } from '@momenta/react-modal-manager'

...

const DemoModal = ({ id, closeModal }) => (
  <Modal title="Basic Modal" visible={true} onOk={closeModal} onCancel={closeModal}>
    <p>Content...</p>
  </Modal>
)



const App = () => (
  <div>
    <Button onClick={() => showModal(<DemoModal />)}>Show Modal</Button>
    <ReactModalManager />
  </div>
)

ReactDOM.render(<App />, document.getElementById('root'))

or

const modalId = showModal(<DemoModal />)
closeModal(modalId)

...
```
npm package: @momentchan/r3f-template
Description: custom template for r3f projects
Latest version: 1.0.0

## Setup
Download [Node.js](https://nodejs.org/en/download/).
Run this followed commands:

``` bash
# Install dependencies (only the first time)
npm install

# Run the local server at localhost:8080
npm run dev

# Build for production in the dist/ directory
npm run build
```
npm package: @momenti/hello-wasm
Description: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm sample
Latest version: 0.2.0

# hello-wasm

sample wasm project from https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm

## requirements

* [rust](https://www.rust-lang.org/tools/install) (tested on `1.53.0`)
* [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)

## build

```
$ wasm-pack build --target bundler --scope momenti
```

## publish on npm

must be a memeber of [momenti npm org](https://www.npmjs.com/org/momenti)

```
$ wasm-pack publish --access public
```