open-index/open-npm huggingface dataset:
npm package: @roadup/smi
Description: 小程序打包器
Author: roadup
Latest version: 0.4.3

# smi
小程序打包器

支持 subPackages, 任何不再subPackages中定义的页面将分发到主包中

node_modules中的页面和组件会提取到dist目录下

#编译结构
```js
Files = {
    "/pages/home/home.wxml": File {
        path: "/pages/home/home.wxml",
        output: "/dist/pages/home/home.wxml",
        content: "XXXXX",
        requires: [ "/pages/me/me.wxml", "/pages/me/me.scss", "/pages/me/me.json", "/pages/me/me.js", "/pages/other/other", "/images/home.png"],
    },
    "/images/home.png": File{
        path: "/images/home.png",
        output: "/dist/images/home.png",
        content: "XXXXXX",
        requires: []
    }
}

Page {
    wxml: "/pages/home/home.wxml",
    json: "/pages/home/home.wxml",
    js: "/pages/home/home.js",
    style: "/pages/home/home.scss"
}

Component {
    wxml: "/pages/home/home.wxml",
    json: "/pages/home/home.wxml",
    js: "/pages/home/home.js",
    style: "/pages/home/home.scss"
}

completion = {
    files: Files{ },
    pages: { "/pages/home/home": Page{} },
    components: { "/components/button/button": Component{ } }
}
```

#build
默认会检查执行目录的 .env 文件
可在执行时添加env文件， 默认为beta.env

```js
npx smi beta.env
```
npm package: @roadzen/rusty-mould
Description: Template based HTML to PDF converter. Uses PUG as html rendering engine.
Author: Mayank
Latest version: 3.0.3-alpha1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Rusty Mould
------------------------
PDF Templating Engine in PUG/Marco/SCSS


Installation
```bash
npm install --save @roadzen/rusty-mould
```

Code
```javascript

var rustyMould = require('rusty-mould');

// loading the templates at start of application
await rustyMould();

// generating pdf/jpg/html from template 
rustyMould.pdf('template-name', {
    data
});
```
npm package: @roadzen/videostream-web
Description: Videostreaming using sockets and webrtc built in react
Author: iamsaksham
Latest version: 0.0.3

# videostream-web

> 

[![NPM](https://img.shields.io/npm/v/@roadzen/videostream-web.svg)](https://www.npmjs.com/package/@roadzen/videostream-web) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @roadzen/videostream-web
```

## Usage

Add the following to your `index.html`
Div tag to mount the videostream modal
`<div id="video-root"></div>`

Script tag to include webrtc adapter
`<script src="https://webrtc.github.io/adapter/adapter-latest.js" crossorigin="anonymous"></script>`


Import and include the component in your component `Example.jsx`

```jsx
import React, { Component } from 'react'

import VideoStream from '@roadzen/videostream-web'

class Example extends Component {
  state = {
    openModal: false,
  }

  render () {
    return (
      <VideoStream
        token='xxxxx'
        isModalOpen={openModal}
        handleToggleModal={(value) => this.setState({ openModal: value })}
        socketURL='xxxxx'
        apiURL='xxxxx'
        turnServerDetails={{
          url:'xxxxx',
          username:'xxxxx',
          credential:'xxxxx',
        }}
      />
    )
  }
}
```

## License

MIT © [iamsaksham](https://github.com/iamsaksham)
npm package: @roadzen/xstream-web
Description: React library for streaming,video and audio calling
Author: bansal.nikhil
Latest version: 5.1.8
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# xstream-web

> React library for streaming,video and audio calling

[![NPM](https://img.shields.io/npm/v/xstream-web.svg)](https://www.npmjs.com/package/xstream-web) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save xstream-web
```

## Usage

```jsx
import React, { Component } from 'react'

import MyComponent from 'xstream-web'
import 'xstream-web/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [bansal.nikhil](https://github.com/bansal.nikhil)