open-index/open-npm huggingface dataset:
npm package: @shinnqy/cjs2esm
Description: Convert cjs to esm. Support vite.js and standalone.
Author: 马鹏达, shinnqy
Latest version: 1.2.1

## Preview
![avatar](./preview.png)

## Install

```cmd
npm i cjs2esmodule
// or
yarn add cjs2esmodule
```

## Usage

### Using in vite.js
This will use `babel` to transform `AST`. If it's too slow, prefer to use script version to transform files.

```js
import { defineConfig } from 'vite'
import { cjs2esmVitePlugin } from 'cjs2esmodule'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [cjs2esmVitePlugin()]
})
```

### Using script to transform files.
Used `glob` under the hood, so it will follow the pattern.

```js
const { transformFiles } = require('cjs2esmodule')

transformFiles('./scripts/test.js')
// Support Array
transformFiles(['./utils/*.js', './components/*.js'])
```
npm package: @shinobi5/monobrow
Description: Automate the independent versioning and publishing of packages in a monorepo
Author: David White
Latest version: 1.2.0
Deprecated: Package no longer supported. Use monorepo-release instead

# :loop: Monobrow

A function that automates the independent versioning and publishing of packages in a monorepo.

**Requires commit messages in the following format**

```
<type>(<package-name>): <message>
```

**Note:** For packages with a scope e.g. `@scope/package-name` just include the `package-name` without the `@scope/` prefix.

**Example**

```
feat(package-a): add such things to package-a
```

**scripts/publish.js**

```js
const monobrow = require('@shinobi5/monobrow');
const pkgA = require('./packages/package-a/package.json');
const pkgB = require('./packages/package-b/package.json');
const packages = [pkgA, pkgB];
const config = {
  scope: '@brow/', // default: null
  semverPrefix: '-', // default: '@' e.g. packageName@version
  conventions: {
    patch: ['docs', 'style'], // default: ['chore, deprecate', 'fix']
    minor: ['minor', 'feature'], // default: ['feat']
    major: ['breaking'], // ['break']
  },
  publicAccess: false, // default: true
  dryRun: true, // default: false
};

packages.map(monobrow(config));
```

**Run script locally or in CI**

```bash
node scripts/publish.js
```
npm package: @shinshin86/ft-js
Description: ft-js File Transfer JS. This tool is an implementation of ft in Node.js.
Author: shinshin86
Latest version: 0.0.6

# ft-js

[![Test](https://github.com/shinshin86/ft-js/actions/workflows/test.yml/badge.svg)](https://github.com/shinshin86/ft-js/actions/workflows/test.yml)

File Transfer JS

This tool is an implementation of [ft](https://github.com/mattn/ft) in Node.js.

## Install

This tool is released as scoped modules and should be installed as follows.

```sh
# npm
npm install -g ft-js@npm:@shinshin86/ft-js

# yarn
yarn global add ft-js@npm:@shinshin86/ft-js
```

### If you are using the Apple Silicon (M1 mac)

For Apple Silicon, the dependent module is not supported and must be installed as follows.

```sh
# npm
npm_config_target_arch=x64 npm install -g ft-js@npm:@shinshin86/ft-js

# yarn
npm_config_target_arch=x64 yarn global add ft-js@npm:@shinshin86/ft-js
```

## Usage

```sh
ft-js [global options] command [command options] [arguments...]
```

### Commands

- download - download files from server
- serve - serve files
- list - list files from server by CSV format or JSON format(`--json` option must be added)
- help, h - Shows a list of commands or help for one command

## Development

### Setup

```sh
# Install
yarn

# If you are using the M1 mac
npm_config_target_arch=x64 yarn
```

### Generate code

```sh
yarn gen
```
npm package: @shinshin86/local-storage-mock
Description: This is the mock of localStorage. The behavior is not perfectly reproduced (*), but the basic logic is implemented. * The value returned when an unintended value is passed, for example.
Author: shinshin86
Latest version: 0.0.3

# localStorage Mock

This is the mock of localStorage.

The behavior is not perfectly reproduced (The value returned when an unintended value is passed, for example), but the basic logic is implemented.

## Install

This package uses scoped modules.
Therefore, please install it as follows.

```sh
npm install local-storage-mock@npm:@shinshin86/local-storage-mock
# or
yarn add local-storage-mock@npm:@shinshin86/local-storage-mock
```

Of course, you can also install it this way.
In that case, please also enter the package with `@` when you load it.

(Ex: `require('@shinshin86/local-storage-mock')` )

```sh
npm install @shinshin86/local-storage-mock
# or
yarn add @shinshin86/local-storage-mock
```

## Usage

```javascript
const { getLocalStorageMock } = require('local-storage-mock');

const window = {
  localStorage: getLocalStorageMock(),
};

window.localStorage.setItem('testkey', 'testvalue');
console.log(window.localStorage.getItem('testkey'));
// => testvalue

console.log(window.localStorage.key(0));
// => testkey

console.log(window.localStorage.length);
// => 1

window.localStorage.removeItem('testkey');
console.log(window.localStorage.getItem('testkey'));
// => null

window.localStorage.setItem('testkey', 'testvalue');
console.log(window.localStorage.getItem('testkey'));
// => testvalue

window.localStorage.clear();
console.log(window.localStorage.length);
// => 0

console.log(window.localStorage.getItem('testkey'));
// => null
```

## TypeScript localStorage Mock

It was originally a project to create a mock for localStorage in TypeScript.

If you want to use the localStorage mock written in TypeScript, you can copy and use the code here( `src/index.ts` ).

## License

[MIT](https://github.com/shinshin86/local-storage-mock/blob/main/LICENSE)

## Author

[Yuki Shindo](https://shinshin86.com/)
npm package: @shint1015/crypto_exchange_wrapper
Description: crypto exchange api wrapper of a npm package
Author: Shintaro Miyata
Latest version: 0.2.38

# crypto_exchange_wrapper
Wrapper for crypto exchanges

## Compatible exchanges
- [x] Kucoin
- [ ] Binance
- [ ] Bitflyer
- [ ] Bitbank

## Installation
```bash
npm install @shint1015/crypto_exchange_wrapper
```