open-index/open-npm huggingface dataset:
npm package: @ohmyvm/vm
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# OhMyVm

OhMyVm is a simple JavaScript virtual machine for node.js powered by [Boa](https://boajs.dev) JavaScript engine. It is meant to be used for executing untrusted code in a sandboxed environment with little to no access to the host system.

## Installation

```bash
npm install @ohmyvm/vm
```

## Usage

```javascript
const { OhMyVm } = require('@ohmyvm/vm');

const vm = new OhMyVm();

const code = Buffer.from(`
function main() {
    return "Hello, World!";
}

main();
`);

const result = vm.eval(code);

// "Hello, World!"
console.log(result);
```

## API

### `new OhMyVm()`

Creates a new instance of the virtual machine.

### `vm.eval(code: Buffer): string`

Evaluates the given code in the virtual machine and returns the result as a string. If the code throws an error, this method will throw an error as well.

### `get loopIterationLimit: number`

The current maximum number of iterations allowed in a loop.

### `setLoopIterationLimit(limit: number): void`

Sets the maximum number of iterations allowed in a loop. Setting this to a fixed number can help prevent infinite loops.

### `disableLoopIterationLimit(): void`

Disables loop iteration limit.

### `get recursionLimit: number`

The current maximum depth of recursion allowed in a function.

### `setRecursionLimit(limit: number): void`

Sets the maximum depth of recursion allowed in a function. Setting this to a fixed number can help prevent stack overflows.

### `get stackSizeLimit: number`

The current maximum stack size allowed for the virtual machine.

### `setStackSizeLimit(limit: number): void`

Sets the maximum stack size allowed for the virtual machine. Setting this to a fixed number can help prevent stack overflows.

### `setStrictMode(strict: boolean): void`

Enables or disables strict mode for the virtual machine.
npm package: @ohmyvm/vm-linux-arm-gnueabihf
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-linux-arm-gnueabihf`

This is the **armv7-unknown-linux-gnueabihf** binary for `@ohmyvm/vm`
npm package: @ohmyvm/vm-linux-arm-musleabihf
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-linux-arm-musleabihf`

This is the **armv7-unknown-linux-musleabihf** binary for `@ohmyvm/vm`
npm package: @ohmyvm/vm-linux-riscv64-gnu
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-linux-riscv64-gnu`

This is the **riscv64gc-unknown-linux-gnu** binary for `@ohmyvm/vm`
npm package: @ohmyvm/vm-linux-x64-musl
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@ohmyvm/vm`
npm package: @ohmyvm/vm-win32-arm64-msvc
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-win32-arm64-msvc`

This is the **aarch64-pc-windows-msvc** binary for `@ohmyvm/vm`
npm package: @ohmyvm/vm-win32-ia32-msvc
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@ohmyvm/vm`
npm package: @ohmyvm/vm-win32-x64-msvc
Description: OhMyVm is a simple JavaScript virtual machine for node.js powered by Boa JavaScript engine.
Latest version: 0.1.0

# `@ohmyvm/vm-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@ohmyvm/vm`
npm package: @ohnaka0410/minimal-modal
Description: Minimal and Tiny Javascript Library for Modal Dialog
Author: ohnaka0410
Latest version: 2.1.1
Deprecated: This Package was Moved. Please use @yuki0410/minimal-modal

<h3 align="center">
  MinimalModal.js
</h3>

<p align="center">
  <img src="https://img.shields.io/npm/l/@ohnaka0410/minimal-modal" alt="licence">

  <a href="https://www.npmjs.com/package/@ohnaka0410/minimal-modal" target="_blank">
    <img src="https://img.shields.io/npm/v/@ohnaka0410/minimal-modal.svg" alt="npm">
  </a>

  <img src="https://img.shields.io/bundlephobia/min/@ohnaka0410/minimal-modal" alt="minified size">

  <img src="https://img.shields.io/david/ohnaka0410/minimal-modal" alt="dependencies">

  <a href="https://www.npmjs.com/package/@ohnaka0410/minimal-modal">
    <img src="https://img.shields.io/npm/dt/@ohnaka0410/minimal-modal" alt="downloads">
  </a>
</p>

<p align="center">
  Minimal and Tiny Javascript Library for Modal Dialog
</p>

---

The aim of this library is to easily introduce a minimalistic modal dialog. It is a library of only about 18KB.

&nbsp;

## Features
✔ Toggles aria-hidden attributes & open attributes on open and close

✔ Closes dialog on overlay click or ESC press

✔ Traps tab focus within the modal (Dependent on [focus-trap](https://www.npmjs.com/package/focus-trap))

✔ Lock the scrolling outside the modal (Dependent on [body-scroll-lock](https://www.npmjs.com/package/body-scroll-lock))

✔ Make By Typescript

✔ Supported for IE11+

&nbsp;

## Install

### via npm
```shell
npm install @ohnaka0410/minimal-modal --save
```

```javascript
// Common.JS
const MinimalModal = require('@ohnaka0410/minimal-modal');

// ESModules
import { MinimalModal } from '@ohnaka0410/minimal-modal';
```

### via CDN direct link
```html
<script src="https://cdn.jsdelivr.net/npm/@ohnaka0410/minimal-modal@v2.1.1/dist/minimal-modal.min.js"></script>
```

### direct download
```shell
curl -o https://cdn.jsdelivr.net/npm/@ohnaka0410/minimal-modal@v2.1.1/dist/minimal-modal.min.js
```

```html
<script src="/path/to/minimal-modal.min.js"></script>
```

&nbsp;

## Usage
### automatic
```javascript
MinimalModal.activate();
```
**[demo](https://ohnaka0410.github.io/minimal-modal/demo/automatic.html)**

### manual
```javascript
// open
const modal = document.querySelector('#someModal');
MinimalModal.show(modal);

// close
MinimalModal.close();
```
**[demo](https://ohnaka0410.github.io/minimal-modal/demo/manual.html)**

&nbsp;

## Changelog
Refer to the [releases](https://github.com/ohnaka0410/minimal-modal/releases) page.

&nbsp;

## Contribution
1. Fork the repository on GitHub
1. Clone the project to your own machine
1. Commit changes to your own branch
1. Push your work back up to your fork
1. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

&nbsp;

## Licence
This project is licensed under [MIT license](https://opensource.org/licenses/MIT).

&nbsp;

## Created and maintained by

[@ohnaka0410](https://twitter.com/ohnaka0410) 🇯🇵
npm package: @ohoareau/apollo-server-lambda-utils
Description: Apollo Server Lambda utils
Latest version: 0.0.1

# apollo-server-lambda-utils

For a deeper understanding of the structure of the GraphQL server info variable, please read the excellent article I found here : https://www.prisma.io/blog/graphql-server-basics-demystifying-the-info-argument-in-graphql-resolvers-6f26249f613a
npm package: @ohoareau/aws-apigw-vx
Description: Use your api-gateway-v1-compatible-only lambda with API Gateway v1 or v2 without changing your code.
Latest version: 0.2.0

# aws-apigw-vx

Use your api-gateway-v1-compatible-only lambda with API Gateway v1 or v2 without changing your code.

## Introduction

This wrapper will detect incoming event/payload version and convert it to v1 payload format.
(More information on [payload format versions here](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html))

## Usage

Without VX:

    ...
    
    module.exports = {handler: myHandler}

With VX:

    const {vx} = require('@ohoareau/aws-apigw-vx');
    
    ...
    
    module.exports = {handler: vx(myHandler)}
npm package: @ohoareau/aws-cf-next
Description: Use your next in your lambda @edge (below CloudFront) without changing your code. The wrapper will detect if your are running into local mode (non-cloudfront) or AWS-mode (via CloudFront)
Latest version: 0.0.1

# aws-cf-next

Use your next in your lambda @edge (below CloudFront) without changing your code.
The wrapper will detect if your are running into local mode (non-cloudfront) or AWS-mode (via CloudFront)

## Introduction

This wrapper will detect incoming event/payload from CloudFront and it to next server side function.

## Usage

    const cfnext = require('@ohoareau/aws-cf-next');
    
    ...
    
    module.exports = {handler: cfnext(myHandler)}
npm package: @ohoareau/gatsby-source-graphql-custom
Description: Gatsby plugin which adds a third-party GraphQL API to Gatsby GraphQL
Latest version: 0.4.0

# gatsby-source-graphql-custom

Based on/Forked from https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-graphql

## Why a fork ?

When using Prismic headless CMS + its official Gatsby source plugin, we faced a conflict between the gatsby-source-graphql plugin and @prismicio/gatsby-source-prismic-graphql plugin:

    The plugin "gatsby-source-graphql" created a node of a type owned by another plugin.

After doing lots of googling, we came to the conclusion that the best option for us was to duplicate the original plugin.

## (Original) Documentation

https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/README.md
npm package: @ohoareau/migrate
Description: ## Usage
Latest version: 0.3.1

# migrate

## Usage

### migrate up
    const migrate = require('@ohoareau/migrate').default;
    const alreadyDeployed = await myPersonalFunctionToRetrieveAlreadyDeployedDiffByFileNames();
    
    await migrate('/my/dir/containing/diff/files', alreadyDeployed, myContext, 'up'); 

### migrate down
    const migrate = require('@ohoareau/migrate').default;
    const alreadyDeployed = await myPersonalFunctionToRetrieveAlreadyDeployedDiffByFileNames();
    
    await migrate('/my/dir/containing/diff/files', alreadyDeployed, myContext, 'down'); 

### plan up
    const { plan } = require('@ohoareau/migrate');
    const alreadyDeployed = await myPersonalFunctionToRetrieveAlreadyDeployedDiffByFileNames();
    
    const planned = await plan('/my/dir/containing/diff/files', alreadyDeployed, 'up'); // string[] 

### plan down
    const { plan } = require('@ohoareau/migrate');
    const alreadyDeployed = await myPersonalFunctionToRetrieveAlreadyDeployedDiffByFileNames();
    
    const planned = await plan('/my/dir/containing/diff/files', alreadyDeployed, 'down'); // string[]
npm package: @ohoareau/p42-widget
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Latest version: 0.9.2

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
npm package: @ohojs/monorepo-demo
Description: monorepo demo package
Author: StEve YoUng
Latest version: 0.0.5

# @ohojs/monorepo-demo

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]

monorepo demo package

## License

[MIT](./LICENSE) License © [ohojs](https://github.com/ohojs)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@ohojs/monorepo-demo?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/@ohojs/monorepo-demo
[npm-downloads-src]: https://img.shields.io/npm/dm/@ohojs/monorepo-demo?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/@ohojs/monorepo-demo
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@ohojs/monorepo-demo?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=@ohojs/monorepo-demo
[license-src]: https://img.shields.io/github/license/ohojs/monorepo-demo.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/ohojs/monorepo-demo/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/@ohojs/monorepo-demo