open-index/open-npm huggingface dataset:
npm package: @idanzel/node-red-contrib-http-ntlm-req
Description: HTTP request with NTLM
Latest version: 0.1.4

# node-red-contrib-http-ntlm-req
Node-red nodes that allow users to send HTTP request with NTLM auth.


## Usage
To set up HTTP request, create a new auth config:
* Enter the URL address to the `URL` field. 
* Fill in *Username*, *Password*, *Client Key*, *Client Certificate*, *Token* if needed.
npm package: @idationtech/cubic2quad
Description: Approximate cubic Bezier curve with a number of quadratic ones
Latest version: 1.2.11

cubic2quad
==========

[![CI](https://github.com/fontello/cubic2quad/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/cubic2quad/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/cubic2quad.svg?style=flat)](https://www.npmjs.org/package/cubic2quad)
[![Coverage Status](https://img.shields.io/coveralls/fontello/cubic2quad/master.svg?style=flat)](https://coveralls.io/r/fontello/cubic2quad?branch=master)

> Aproximates cubic Bezier curves with quadratic ones.

This package was done to create TTF fonts (those support quadratic curves only).
Generated curves have the same tangents angles at the ends. That's important to
keep result visually smooth.


Algorithm
---------

Logic is similar to one from [FontForge](https://fontforge.github.io/bezier.html).

Steps:

1. Split quadratic curve into _k_ segments (from 2 at start, to 8 max).
2. Approximate each segment with tangents intersection approach (see
   [picture](http://www.timotheegroleau.com/Flash/articles/cubic_bezier/quadratic_on_cubic_1.gif) in [article](http://www.timotheegroleau.com/Flash/articles/cubic_bezier_in_flash.htm)).
3. Measure approximation error and increase splits count if needed (and max not reached).
   - set 10 points on each interval & calculate minimal distance to created
     quadratic curve.

Usage
-----

```js
var cubic2quad = require('cubic2quad');
// Input: (px1, py1, cx1, cy1, cx2, cy2, px2, py2, precision)
var quads = cubic2quad(0, 0, 10, 9, 20, 11, 30, 0, 0.1);
```

It converts given quadratic curve to a number of quadratic ones. Result is:

    [ P1x, P1y, C1x, C1y, P2x, P2y, C2x, C2y, ..., Cnx, Cny, P{n+1}x, P{n+1}y ]

where _Pi_ are base points and _Ci_ are control points.


Authors
-------

- Alexander Rodin - [@a-rodin](https://github.com/a-rodin)
- Vitaly Puzrin - [@puzrin](https://github.com/puzrin)


## License and Copyright

This software is released under the terms of the [MIT license](https://github.com/IDationTech/cubic2quad/blob/master/LICENSE).

This project is a derived version of the main project : [https://github.com/fontello/cubic2quad](https://github.com/fontello/cubic2quad).
npm package: @idationtech/osquery
Description: facebook osquery client
Author: Andrey Sidorov
Latest version: 1.0.0

osquery-node
==============

Facebook [osquery](https://github.com/facebook/osquery) client for node.js

## Installation

    npm install osquery

## Usage

client:

```js
var osquery = require('osquery');

var os = osquery.createClient({ path: '/var/osquery/osquery.em' });
os.query('SELECT uid, name FROM listening_ports l, processes p WHERE l.pid=p.pid', function(err, res) {
  console.log(res);
});

```

Table plugin:

```js
var osquery = require('osquery');

var generateTable = function(req, resp) {
  resp(null, [{
        "foo": "foo value",
        "bar": "bar value " + Date.now()
      }]
  );
};

var c = osquery.createClient();
var s = c.createServer({
  info: {
    name: 'test table extension'
  },
  plugins: [{
    type: 'table',
    name: 'node_ext_table',
    schema: [
      {"name": "foo", "type": "TEXT"},
      {"name": "bar", "type": "TEXT"}
    ],
    handler: generateTable
  }]
});

s.listen(function(err, serv) {
  console.log('extension started!');
});
```

## License

MIT

## See also
 - [mysql to osquery proxy](https://github.com/sidorares/mysql-osquery-proxy)
 - [python client](https://github.com/osquery/osquery-python)
npm package: @idationtech/svg-font-create
Description: Creates SVG font from separate images
Latest version: 0.0.52

SVG font creator
================

This tool creates SVG font from separate images. Due simplified process,
images must be preliminary optimized with [SVGO](https://github.com/svg/svgo):

- scaled to required height
- all paths joined to single one
- no `fill` commands colors transforms and others
- `fill` defined by polyline direction (`cw` - black, `ccw` - white)

Installation:

```
npm install svg-font-create
```

Usage example:

See Makefile in embedded fonts repos https://github.com/fontello/awesome-uni.font/blob/master/Makefile

## License and Copyright

This software is released under the terms of the [MIT license](https://github.com/IDationTech/svg-font-create/blob/master/LICENSE).

This project is a derived version of the main project : [https://github.com/fontello/svg-font-create](https://github.com/fontello/svg-font-create).
npm package: @idationtech/svg-font-dump
Description: Split SVG font to separate images
Latest version: 0.1.2

SVG font dumper
===============

This tool is used to dump SVG font into separate images.

Installation:

```
npm install svg-font-dump
```


Authors
-------

- [Kir Belevich](https://github.com/deepsweet)
- [Vitaly Puzrin](https://github.com/puzrin)


## License and Copyright

This software is released under the terms of the [MIT license](https://github.com/IDationTech/svg-font-dump/blob/master/LICENSE).

This project is a derived version of the main project : [https://github.com/fontello/svg-font-dump](https://github.com/fontello/svg-font-dump).
npm package: @idationtech/svg2ttf
Description: Converts SVG font to TTF font
Author: Sergey Batishchev
Latest version: 6.0.33

svg2ttf
=======

[![CI](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/svg2ttf.svg?style=flat)](https://www.npmjs.org/package/svg2ttf)

> Converts SVG fonts to TTF format. It was initially written for
[Fontello](http://fontello.com), but you can find it useful for your projects.

__For developpers:__

Internal API is similar to FontForge's one. Since primary goal
is generating iconic fonts, sources can lack some specific TTF/OTF features,
like kerning and so on. Anyway, current code is a good base for development,
because it will save you tons of hours to implement correct writing & optimizing
TTF tables.


Using from CLI
----------------

Install:

``` bash
npm install -g svg2ttf
```

Usage example:

``` bash
svg2ttf fontello.svg fontello.ttf
```


API
---

### svg2ttf(svgFontString, options) -> buf

- `svgFontString` - SVG font content
- `options`
  - `copyright` - copyright string (optional)
  - `description` - description string (optional)
  - `ts` - Unix timestamp (in seconds) to override creation time (optional)
  - `url` - manufacturer url (optional)
  - `version` - font version string, can be `Version x.y` or `x.y`.
- `buf` - internal [byte buffer](https://github.com/fontello/microbuffer)
   object, similar to DataView. It's `buffer` property is  `Uin8Array` or `Array`
   with ttf content.

Example:

``` javascript
var fs = require('fs');
var svg2ttf = require('svg2ttf');

var ttf = svg2ttf(fs.readFileSync('myfont.svg', 'utf8'), {});
fs.writeFileSync('myfont.ttf', new Buffer(ttf.buffer));
```


## svg2ttf for enterprise

Available as part of the Tidelift Subscription.

The maintainers of `svg2ttf` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-svg2ttf?utm_source=npm-svg2ttf&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

## License and Copyright

This software is released under the terms of the [MIT license](https://github.com/IDationTech/svg2ttf/blob/master/LICENSE).

This project is a derived version of the main project : [https://github.com/fontello/svg2ttf](https://github.com/fontello/svg2ttf).
npm package: @idct/axios-jwt-oobe
Description: Wrapper around Axios which adds out-of-the-box experience for JWT Tokens with Refresh Tokens.
Author: IDCT Bartosz Pachołek
Latest version: 0.1.7

Axios JWT Out of the box experience
===================================

Wrapper around Axios which adds out-of-the-box experience for JWT Tokens with Refresh Tokens.

# installation

Execute:
`npm install axios-jwt-oobe`
in your application and import it into your project usign the format of your choice (import, require).

# usage

Create a new instance:

```javascript
let axiosJwt = new AxiosJwtOobe(options);
```

* options are optional

## configuration

In order for the JWT handler to work you need to define few values:

* token and refresh token field names in responses
* refresh token url

If you want to use the internal `login` method then you also need to define one of the following:

* login action function
* login url, username and password fields

## examples

If your refresh url is: `https://somesite.com/auth/refresh`, login url is: `https://somesite.com/auth/login`, both accept username and password using format:
```json
{
    "x-username": "someusername",
    "x-password": "somepassword"
}
```

and your login methods return tokens in format:
```json
{
    "super-token": "....",
    "super-refresh-token": "....."
}
```

Then you should set the refresh token url to `https://somesite.com/auth/refresh`, username field to `x-username` and password field to `x-password`.

You can do this by passing constructor options: `refreshTokenRetrievalUrl`, `usernameField`, `passwordField`, `tokenFieldName`, `refreshTokenFieldName` or by calling methods:

```javascript
axiosJwt.jwtHandler.setLoginAction({
    "url": "https://somesite.com/auth/login",
    "usernameField": "x-username",
    "passwordField": "x-password"
});

axiosJwt.jwtHandler.setRefreshRetrievalUrl("https://somesite.com/auth/refresh");
axiosJwt.jwtHandler.setTokenFieldsNames("super-token", "super-refresh-token");
```

# TODO

This a very early version of the application yet it already should simplify the process of handling JWT refresh tokens.
Current todos include:
- better tests split
- option to pass refresh action instead of only url
- allow to set different token field names for login and refresh actions

# Contribution

Any reported issues or pull requests are more than welcome.