open-index/open-npm huggingface dataset:
npm package: @imcoding.online/js-move-playground
Description: js move playground by imcoding
Author: imcoding.online
Latest version: 1.0.3

# JS MOVE PLAYGROUND

Wrapper [move playground by pontem](https://playground.pontem.network/). Only support Browser environment.

## Demo

[imcoding.online](https://imcoding.online)

## Install

```shell
npm i @imcoding.online/js-move-playground
```

## Use

```typescript
import { setup, openProject } from "@imcoding.online/js-move-playground";

// must setup first
await setup();

// create or open project
const demo = await openProject("demo");

// create or open module
const module = demo.openModule("math.move");
demo.setContent(module, `
module 0x01::Math {
  public fun sum(a: u64, b: u64): u64 {
      a + b
  }
}
  `);

// create or open script
let script = demo.openScript("plus.move");
demo.setContent(script, `
script {
   use 0x01::Math::sum;

   fun plus(a: u64, b: u64) {
     assert!(sum(a, b) == 15, 101);
   }
}
`);

await demo.runScript("plus(10, 5)"); // execute success

await demo.runScript("plus(8, 3)"); // throw Error

// rename file
script = demo.renameFile(script, "plus_v2.move");

// remove file
demo.removeFile(script);

// remove project
await demo.remove();
```
npm package: @imconnorngl/opennextjs-cloudflare
Description: Cloudflare builder for next apps
Latest version: 0.5.3-0

# OpenNext for Cloudflare

Deploy Next.js apps to Cloudflare!

[OpenNext for Cloudflare](https://opennext.js.org/cloudflare) is a Cloudflare specific adapter that enables deployment of Next.js applications to Cloudflare.

## Get started

To get started with the adapter visit the [official get started documentation](https://opennext.js.org/cloudflare/get-started).

## Local development

- you can use the regular `next` CLI to start the Next.js dev server:

## Local preview

Run the following commands to preview the production build of your application locally:

- build the app and adapt it for Cloudflare

  ```bash
  npx opennextjs-cloudflare
  # or
  pnpm opennextjs-cloudflare
  # or
  yarn opennextjs-cloudflare
  # or
  bun opennextjs-cloudflare
  ```

- Preview the app in Wrangler

  ```bash
  npx wrangler dev
  # or
  pnpm wrangler dev
  # or
  yarn wrangler dev
  # or
  bun wrangler dev
  ```

## Deploy your app

Deploy your application to production with the following:

- build the app and adapt it for Cloudflare

  ```bash
  npx opennextjs-cloudflare && npx wrangler deploy
  # or
  pnpm opennextjs-cloudflare && pnpm wrangler deploy
  # or
  yarn opennextjs-cloudflare && yarn wrangler deploy
  # or
  bun opennextjs-cloudflare && bun wrangler deploy
  ```
npm package: @imcooder/mr-base
Description: 数据按行分割，pipe out
Author: imcooder
Latest version: 1.0.18

# mr-base
split stdio as test line

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![David deps][david-image]][david-url]

[npm-image]: https://img.shields.io/npm/v/@imcooder/mr-base.svg
[npm-url]: https://npmjs.com/package/@imcooder/mr-base
[download-image]: https://img.shields.io/npm/dm/@imcooder/mr-base.svg
[download-url]: https://npmjs.com/package/@imcooder/mr-base
[david-image]: https://img.shields.io/david/imcooder/mr-base.svg
[david-url]: https://david-dm.org/imcooder/mr-base

## Install

```
npm i @imcooder/mr-base -S
```

## Usage

```js
parse.js

const MRBase = require('mr-base');
let mr = new MRBase();
let lineNumber = 0;
mr.on('line', line => {
    console.log(line);
	lineNumber ++;
});
mr.on('end', () => {
    console.log(lineNumber);
});
```
use:
```shell

cat test.log | node parse.js

```
## Example


## License

The [MIT License](LICENSE)
npm package: @imcsorin/rn-sms
Description: SMS library for RN
Author: Sorin C.
Latest version: 0.2.2

# rn-sms

SMS library for RN.

Linking module on RN is flaky if a string with symbols and whitespace is used, not even `decodeURIComponent` or `decodeURI`
can help, it will show correctly on some devices but others will incorrectly show the decoded URI instead of the correct message. If you only need to support new devices, consider using Linking instead of this package, if you need to support every device possible, you can install it.

## Installation

```sh
npm install @imcsorin/rn-sms
```

## Usage

```js
import { sendSMS } from '@imcsorin/rn-sms';

// ...

const result = await sendSMS("123-1234-1234", "A very nice test message!");
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---
npm package: @imcyk/context-menu
Description: 基于vue3+vite+ts的右键菜单组件，适用于组合式api和选项式api。
Author: chen yankai
Latest version: 0.2.3

# 右键菜单 vue3

[文档地址](https://doc.plugin.vue.imcyk.com/)

**~~本组件处于开发状态，存在大量 bug 及重构的可能。请了解风险后再决定使用~~**  
**本组件已进入半生产阶段，可能存在 bug 。可能进行多次非破坏性更新。如有必要可能进行轻度破坏性重构**  
**本组件目前可用，但 1.x 以下版本为开发版本，**  
**可根据文档尝试。issue 会在完全生产阶段后对外开放，接受公开 bug 反馈**
npm package: @imdbsd/slate-censor-plugin
Description: slate censor text plugin
Author: imdbsd
Latest version: 1.0.0

# Slate Censor Plugin

slate.js plugin for censoring text in slate.js document

## Instal

```
$ yarn add @imdbsd/slate-censor-plugin
```

## Usage

Define list of the censored word in an array and past it to the decorate function

```
import {useState, useMemo, FC} from 'react'
import {createEditor, Node} from 'slate'
import {Slate, Editable, withReact} from 'slate-react'
import {decorate, renderLeaf} from '@imdbsd/slate-censor-plugin'

const blacklist = ['fuck']

const Editor: FC = (props) => {
  const editor = useMemo(() => withReact(createEditor()), [])
  const [value, setValue] = useState<Node[]>([
    {
      type: 'paragraph',
      children: [
        {
          text: `This fuck word will getting censored`,
        },
      ],
    },
  ])

  return (
    <Slate
      editor={editor}
      value={value}
      onChange={(newValue) => setValue(newValue)}
    >
      <Editable decorate={decorate(blacklist)} renderLeaf={renderLeaf('')} />
    </Slate>
  )
}

export default Editor
```

## Options

### decorate

| options   |            type            |                  Description |
| --------- | :------------------------: | ---------------------------: |
| blacklist | `required` `Array<string>` | List of the blacklisted word |

### renderLeaf / CensorLeaf

| props/args |        type         |                                            Description |
| ---------- | :-----------------: | -----------------------------------------------------: |
| censorChar | `optional` `string` | Char that will used to censor the word, default is `*` |
npm package: @imdbsd/slate-string-deserialize
Description: deserialize string to slate value
Author: imdbsd
Latest version: 1.0.4

# Slate String Deserialize

Deserialiaze plain string to slate value. Currently target slate > 0.5x version.

## Example

more example can be found on `__tests__` directory

```
import deserialize from 'slate-string-deserialize'

deserialize('hello world')
/*
[{type: 'paragraph', children: [{text: 'hello world'}]}]
*/
```