open-index/open-npm huggingface dataset:
npm package: @rothfels/tls-browserify
Description: A port of the tls module for the browser.
Author: Emersion
Latest version: 0.2.3

tls-browserify
==============

`tls` module for [Browserify](https://github.com/substack/node-browserify), using [`forge`](https://github.com/digitalbazaar/forge).

Works well with [`net-browserify`](https://github.com/emersion/net-browserify), but can be used with other `net` libraries too (even the native one).

Supported APIs:
* `tls.TLSSocket`: a secure socket
* `tls.connect()`: connect to a remote server using TLS
npm package: @rotic/roticsdk-node
Description: Node.js SDK let you call Rotic Intelligent Solutions API
Author: Rotic Intelligent Solutions
Latest version: 1.0.0

# RoticSDK-Node
Node.js SDK let you call Rotic Intelligent Solutions API

For Chat:
```
const rotic = require("./RoticSDK")

rotic.token ="{YOUR_TOKEN}"
rotic.api ="{YOUR_API_TOKEN}"
rotic.unique_token ="{Random_Generated_String}"

rotic.chat("Hello World").then((data) => {
    console.log(data)
});
```
npm package: @rotick/dom-mark
Description: Add text/HTML as watermark to DOM node, customizable content and style, automatically calculate size and position
Author: dongnaebi
Latest version: 1.2.0

# dom-mark
[![NPM version][npm-image]][npm-url] | 
[中文文档](README_zh.md)

[npm-image]: https://img.shields.io/npm/v/@rotick/dom-mark.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@rotick/dom-mark

Add text/HTML as watermark to DOM node

- automatically calculate size and position
- 4kb mini library
- support IE 9+ and all mobile browser
- customizable HTML content and style
- observe dom changes and rerender with MutationObserver

## Demo
[ESM](demo/esm.html) | [UMD](demo/umd.html) | [mobile](demo/mobile.html)

![demo](demo/demo.png)

## Install
```bash
npm i @rotick/dom-mark -S
```
In browser, download `dist/dom-mark.js` to your project:
```html
<script src="/path/to/dom-mark.js"></script>
```

## Useage
```javascript
import DomMark from '@rotick/dom-mark'

const domMark = new DomMark('body', {
  content: '水印', // html,text
  fontSize: 'inherit',
  fontFamily: 'inherit',
  color: 'inherit',
  opacity: .3,
  padding: 20,
  zIndex: 6000,
  minMargin: [40, 20],
  rotate: -15,
  observe: true
})

domMark.render()
```
### update:
```javascript
domMark.update({
  content: '<img src="/watermark.png" width="60" />'
})
```
**important: if you want to use `setInterval` or `setTimeout` to update, don't forget `clearInterval` or `clearTimeout`, otherwise maybe it will cause a crash(e.g. webpack HMR)**
### destroy:
```javascript
domMark.destroy()
```

## API
```javascript
const dm = new DomMark(selector, options)
dm.render()
dm.update(options)
dm.destroy()
```

`selector` can be a HTMLElement object or document.querySelector's parameter, default: `body`

### options
| option | type | default | introduction |
|:------|:-------|:--------------------------|:----|
| content | String | - | HTML string or text |
| fontSize | String | inherit | font size, e.g. 16px,2rem  |
| fontFamily | String | inherit | font family |
| color | String | inherit | font color |
| opacity | Number | .3 | opacity of content, 0~1 |
| padding | Number | 20 | the parent element padding, unit: px |
| zIndex | Number | 6000 | z-index of centent |
| minMargin | Array | [40, 20] | [vertical, horizontal], margin of item unit: px |
| rotate | Number | -15 | rotation angle of item |
| observe | Boolean | true | observe the dom change and rerender, prevent user delete watermarks, work with `MutationObserver`, see [caniuse](https://caniuse.com/#search=MutationObserver) |

## Change log
#### v1.1.0 2020/05/17
rerender when hot module reload, rerender only when watermark change in MutationObserver

## Questions & Suggestions

Please open an issue [here](https://github.com/rotick/dom-mark/issues).

## License

[MIT](LICENSE)
npm package: @rotini/cli
Description: rotini companion cli
Author: Matt Getz
Latest version: 3.1.5

<p style="text-align:center;">
  <a href="https://github.com/matthewgetz/rotini" target="_blank">
    <img alt="rotini" src="https://i.imgur.com/zFsgPBh.jpg" />
  </a>
</p>

See the [rotini](https://rotini.dev) documentation.
npm package: @rotini/configs
Description: rotini project configuration files
Author: Matt Getz
Latest version: 4.0.0

<p style="text-align:center;">
  <a href="https://github.com/matthewgetz/rotini" target="_blank">
    <img alt="rotini" src="https://i.imgur.com/zFsgPBh.jpg" />
  </a>
</p>

See the [rotini](https://rotini.dev) documentation.
npm package: @rotirojs/api-demo
Description: Rotiro Api Demo
Author: Alex Everitt
Latest version: 1.0.2

# api-demo

The api demo repo creates fake api defined using rotiro. It's designed to 
demonstrate the basic configuration behind binding a schema to services and 
should work in different environments.

You can add the module to an existing project using:

```yarn add rotirojs/api-demo```

This repo is a demonstration of how you can create one fully working api that can then be run on express, api gateway and more in the future

The benefit of this approach is that you do not need to decide where or how your api should be deployed.

A great use case for this may be when developing you would run the api locally with express whereas the production code may run on the AWS Api Gateway/lambdas which is not easy to test and requires continual deployments 

### Demos
The [Rotiro demos project](https://github.com/rotirojs/rotiro-demos) has examples
that demonstrate how to consume this api
npm package: @rotko/blake3
Description: High-performance Blake3 hash for JavaScript - optimized pure JS implementation
Author: Rotko Networks
Latest version: 1.0.1

# @rotko/blake3

Pure JS Blake3 (~250 MB/s).

**Demo:** https://blake3.rotko.net

```js
import { blake3 } from '@rotko/blake3';

blake3(new Uint8Array([1, 2, 3]));  // Uint8Array
blake3.hex('hello world');          // hex string
blake3('data', 64);                 // custom length
```

MIT
npm package: @rotko/blake3-auto
Description: High-performance Blake3 hash - auto-selects WASM+Rayon or pure JS
Author: Rotko Networks
Latest version: 1.0.1

# @rotko/blake3-auto

Auto-selects fastest Blake3 backend (WASM+Rayon > WASM > JS).

**Demo:** https://blake3.rotko.net

```js
import { init, blake3, getBackend } from '@rotko/blake3-auto';

await init();
blake3(data);
getBackend();  // 'wasm-rayon', 'wasm', or 'js'
```

MIT
npm package: @rotko/blake3-wasm
Description: High-performance Blake3 hash - Rust WASM with Rayon multi-threading
Author: Rotko Networks
Latest version: 1.0.1

# @rotko/blake3-wasm

Rust Blake3 compiled to WASM with Rayon multi-threading.

**Demo:** https://blake3.rotko.net

```js
import { init, blake3, blake3Parallel } from '@rotko/blake3-wasm';

await init();           // or init(8) for 8 threads
blake3(data);           // single-threaded
blake3Parallel(data);   // multi-threaded
```

Requires COOP/COEP headers for multi-threading.

MIT