open-index/open-npm huggingface dataset:
npm package: @jetbrains/ring-ui-license-checker
Description: Ring UI License Checker is webpack plugin intended to generate third-party libraries list with license information from dependency tree
Author: JetBrains
Latest version: 1.5.6

ring-ui-license-checker
=======================

[![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
[![npm (scoped)](https://img.shields.io/npm/v/@jetbrains/ring-ui-license-checker.svg)](npmjs.com/package/@jetbrains/ring-ui-license-checker)


This repository SSH URL: ssh://github.com/JetBrains/ring-ui-license-checker.git
This repository HTTPS URL: https://github.com/JetBrains/ring-ui-license-checker.git

Develop with pleasure(R)

#### Options

- `filename`: String
- `format`: (params = {modules: module[]}) => String
- `exclude`: RegExp
- `forceAddPackages`: module[]
- `customLicenses`: module[]
- `surviveLicenseErrors`: Boolean
- `ignoreTeamcity`: Boolean - never use TeamCity service messages
- `teamcityMessageStatus`: String - message status to report (NORMAL, WARNING, FAILURE, ERROR)

Options usage and `module` object structure example:

```javascript
      new LicenseChecker({
        filename: 'third-party-licenses.txt',
        format: params =>
          params.modules
            .map(
              mod => `${mod.name} (${mod.url})
${mod.license.name} (${mod.license.url})`,
            )
            .join('\n\n'),
        // stackframe has wrong license field in 0.3.1
        exclude: [/stackframe/],
        customLicenses: [{
          name: 'stackframe',
          version: '0.3.1',
          url: 'https://www.npmjs.com/package/stackframe',
          license: {
            name: 'Unlicense',
            url: 'http://unlicense.org/'
          }
        }],
        surviveLicenseErrors: true,
      }),
```
npm package: @jetbrains/stylelint-config
Description: A stylelint config by JetBrains
Author: Andrey Skladchikov
Latest version: 4.0.2

# JetBrains config for stylelint [![Build Status][ci-img]][ci] [![npm][npm-img]][npm]

[![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)

stylelint settings used at JetBrains, not much to add.

**Note to maintainers**: to trigger publishing of the npm package append *\[Publish\]* to the commit message. For example:

*Tweaked the rules \[Publish\]*

 [ci]: https://teamcity.jetbrains.com/viewType.html?buildTypeId=JetBrainsUi_StylelintConfig&guest=1
 [ci-img]: https://teamcity.jetbrains.com/app/rest/builds/buildType:JetBrainsUi_StylelintConfig/statusIcon.svg
 [npm]: https://www.npmjs.com/package/@jetbrains/stylelint-config
 [npm-img]:  https://img.shields.io/npm/v/@jetbrains/stylelint-config.svg
npm package: @jetbrains/ts2kt-automator
Description: A package that downloads TypeScript annotations from @types/*-group of packages and converts them to Kotlin.
Author: Andrey Skladchikov
Latest version: 2.0.0

# ts2kt-automator

This package wraps [ts2kt](https://github.com/Kotlin/ts2kt), a converter of TypeScript definition files to Kotlin declarations (stubs).
It downloads the specified package typings from "@types/%packagename%" and runs ts2kt on them.

## Installation

```bash
npm i @jetbrains/ts2kt-automator --save
```

## Usage: 
```bash
ts2kt-automator --dest=types jquery
```

Where:
* **dest** is the path to the folder where generated Kotlin files should be placed. 
Directory with the name of the package will be created inside.
* **packageName** is the name of the package to download and convert. 
A version number can be specified after "@" as follows: `--packageName=jquery@2`. 
If the version is not specified, the version listed in your project's package.json will be used. 
If no such package is listed in package.json, "latest" will be used.
npm package: @jetbrains/websandbox
Description: A sandbox library for runnung javascript inside HTML5 sandboxed iframe
Author: Andrey Skladchikov
Latest version: 1.1.3

# Websandbox [![Build Status](https://github.com/jetbrains/websandbox/actions/workflows/github-actions.yml/badge.svg)](https://github.com/jetbrains/websandbox/actions/workflows/github-actions.yml) [![official JetBrains project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)

Websandbox library provides a way to execute unsafe js code inside HTML5 sandbox - iframe with sandbox attribute.
It is usable to host user provided widgets and similar cases.

Working example: [http://jetbrains.github.io/websandbox](http://jetbrains.github.io/websandbox).

## Simple usage (see [examples folder](examples) to more information): 

```js
import Sandbox from 'websandbox';

Sandbox.create({}).promise
    .then(function(sandbox) {
        sandbox.run('console.log("Hello from sandbox!")');
    });
```

## Function run (will be stringified and called inside sandbox)

Function **should** has "name" property to be able to run.

```js
import Sandbox from 'websandbox';

var localApi = {
    testApiFn: function (message) {
        console.log('Host function called from iframe with: ' + message);
    }
};

Sandbox.create(localApi).promise
    .then(function(sandbox) {
        sandbox.run(function functionName() {
            Websandbox.connection.remote.testApiFn("some argument");
        });
    });
```

## Communication with sandboxed code
```js
import Sandbox from 'websandbox';

var localApi = {
    testApiFn: function (message) {
        console.log('Host function called from iframe with: ' + message);
    }
};

const sandbox = Sandbox.create(localApi, {frameContainer: '.iframe__container', frameClassName: 'simple__iframe'});
sandbox.promise
    .then(() => {
        console.log('Sandbox is created. Trying to run code inside');

        return sandbox.run(`
            console.info("Sandboxed code initialized successfully");
            var title = document.createElement('h3');
            title.innerHTML = "Content is generated from the sandbox";
            document.body.appendChild(title);
            Websandbox.connection.remote.testApiFn("some argument");

            Websandbox.connection.setLocalApi({
                sandboxedMethod: function(message) {
                    console.info('sandboxedMethod called successfully:', message);
                    return 'this is sandboxedMethod result';
                }
            });
        `);
    })
    .then(() => console.log('Code has been ran'))
    .then(() => {
        console.log('Calling sandboxedMethod...');
        return sandbox.connection.remote.sandboxedMethod('hello from host');
    })
    .then(res => console.log('Call was successful:', res));
```

## Import styles

```js
import Sandbox from 'websandbox';

Sandbox.create({}).promise
    .then(function(sandbox) {
        sandbox.injectStyle(`
            html, body {
                background-color: blue;
            }
        `);
    });
```
npm package: @jetbrains/youtrack-scripting-api
Description: [Quick Start Guide](https://www.jetbrains.com/help/youtrack/standalone/Quick-Start-Guide-Workflows-JS.html)
Latest version: 2022.1.46592

# JetBrains stubs for YouTrack workflow implementation

[Quick Start Guide](https://www.jetbrains.com/help/youtrack/standalone/Quick-Start-Guide-Workflows-JS.html)

## Package contents

`@jetbrains/youtrack-scripting-api/cache` Module containing a straightforward cache implementation<br />
`@jetbrains/youtrack-scripting-api/date-time` Date and time related operations<br /> 
`@jetbrains/youtrack-scripting-api/entities` Entities module<br />
`@jetbrains/youtrack-scripting-api/environment` Nothing interesting here. Just a module devoted for internals<br /> 
`@jetbrains/youtrack-scripting-api/http`  Module containing stuff related to HTTP routine. The main class is Connection<br /> 
`@jetbrains/youtrack-scripting-api/search`  Module containing facilities to query YouTrack issues<br />
`@jetbrains/youtrack-scripting-api/strings` Operations on strings<br /> 
`@jetbrains/youtrack-scripting-api/workflow` Module containing utility functions<br />