open-index/open-npm huggingface dataset:
npm package: @robertlong/react-ui-tree
Description: React tree component
Author: Wang Zuo
Latest version: 3.4.6

# react-ui-tree

[![Build Status](https://travis-ci.org/pqx/react-ui-tree.svg)](https://travis-ci.org/pqx/react-ui-tree)
[![npm](https://img.shields.io/npm/v/react-ui-tree.svg)](https://www.npmjs.com/package/react-ui-tree)
[![npm](https://img.shields.io/npm/dm/react-ui-tree.svg)](https://www.npmjs.com/package/react-ui-tree)

React tree component

This project was initially developed for a webpage builder. It maintains an
internal tree structure within the component through
[js-tree](https://github.com/wangzuo/js-tree).

### Demo

[https://pqx.github.io/react-ui-tree](https://pqx.github.io/react-ui-tree)

### Installation

```sh
npm install react-ui-tree --save
```

### Usage

```javascript
<Tree
  paddingLeft={20}              // left padding for children nodes in pixels
  tree={this.state.tree}        // tree object
  onChange={this.handleChange}  // onChange(tree) tree object changed
  renderNode={this.renderNode}  // renderNode(node) return react element
/>

// a sample tree object
// node.children, node.collapsed, node.leaf properties are hardcoded
{
  "module": "react-ui-tree",
  "children": [{
    "collapsed": true,
    "module": "dist",
    "children": [{
      "module": "node.js"
    }]
  }]
}
```

check [app.js](https://github.com/pqx/react-ui-tree/blob/master/example/app.js)
for a working example

### Development

* npm install
* npm start
* http://localhost:8080/example

### License

MIT
npm package: @roberto0arruda/wikipedia-api
Description: a Wikipedia Api Wrapper with Node
Author: Mayk Brito
Latest version: 1.0.0

# A Node.js Bot that search for content with Wikipedia's Api

This bot will prompt you asking for a keyword, then it will search and fetch content from Wikipedia.

---

## How to start

1. Clone this repository, navigate do repo folder and Install it.

```sh
git clone https://github.com/maykbrito/wikipedia-api-node.git && cd wikipedia-api-node && npm install
```

2. Once it is installed, run with

```sh
npm run start
```

You will see an interactive prompt to help you search your content.

![Imgur](https://i.imgur.com/leSq4aT.gif)

---

## Language & Translations

By default language for search in Wikipedia is Portuguese. You can change it by opening `./language.json` and change `"lang":"pt"` to your own language.

**Note: If it's not English you will need to provide your own translation.**

For example: If your language is French,
Just copy this snippet bellow, and start your translation.

```json
"fr": {
    "askForSearchTerm": "Type your search term",
    "confirmOrSelectSearchTerm": "Confirm Your Term Search or Select One",
    "fetchingImages": "Fetching Images",
    "fetchingContent": "Fetching Content",
    "errorWaitingWikipediaContent": "Error waiting for content",
    "errorFetchingImage": "Could Not Fetch Image Url From Wikipedia",
    "errorFetchingContent": "Could Not Fetch Content From Wikipedia",
    "errorFetchingTerms": "Could Not Fetch Terms From Wikipedia",
    "exitWithDefault": "Exiting Program",
    "exitWithEmptyResults": "Your search term don't return any result",
    "exitWithKeyNotSelected": "You don't selected any key"
}
```

And change bot to your language 

```json
"lang":"fr"
```

If you want to, just change the language like above and Wikipedia will search in that language

FYI:

- In case of you don't provide any translation, this bot will be prompted in English

- To select a language follow this pattern* <http://www.lingoes.net/en/translator/langcode.htm>

- Wikipedia Api don't work with all avaiable languages

---

## How to use it in your project (without my interactive prompt)

You will need to clone and install it in your project folder.

Initiate it

```js
const wikipedia = require('./wikipedia');
``` 

Your `wikipedia` will require this object

```js
content = {
    searchTerm = "Your Search Term here"
}
```

Then you can await for search

```js
await wikipedia(content);
```

Your `content` object will return like this:

```js
content = {
    searchTerm = "",
    wikipediaContent = {
        pageid: '',
        title: '',
        url: '',
        raw: '',
        summary: '',
        references: [],
        images: [],
    }
}
```

*I still don't know how to make a npm package to helping us. (if you want to, we all will be thankful)*

## License & copyright

It's free (MIT license) © Mayk Brito
npm package: @roberto497/react-native-mapbox-navigation
Description: Mapbox Navigation React Native
Author: roberto.nogueira.rc
Latest version: 0.2.2

# react-native-mapbox-navigation

Mapbox Navigation React Native

## Installation

```sh
npm install react-native-mapbox-navigation
```

## Usage

```js
import { MapboxNavigationView } from "react-native-mapbox-navigation";

// ...

<MapboxNavigationView color="tomato" />
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @robertoachar/calculator
Description: Calculator.
Author: Roberto Achar
Latest version: 1.1.0

# calculator

Generated by [Node Project Generator](https://github.com/robertoachar/generator-node).

[![License][license-badge]][license-url]

> Calculator.

# Development

* Cloning the repo

```bash
$ git clone https://github.com/robertoachar/calculator.git
```

* Installing dependencies

```bash
$ npm install
```

* Running scripts

| Action                    | Usage          |
| ------------------------- | -------------- |
| Starting development mode | `npm start`    |
| Linting code              | `npm run lint` |

# Author

[Roberto Achar](https://twitter.com/robertoachar)

# License

[MIT](https://github.com/robertoachar/calculator/blob/master/LICENSE)

[license-badge]: https://img.shields.io/github/license/robertoachar/calculator.svg
[license-url]: https://opensource.org/licenses/MIT
npm package: @robertoachar/express-cors
Description: Express Cross-Origin Resource Sharing (CORS) middleware.
Author: Roberto Achar
Latest version: 1.0.2

# express-cors

Generated by [Node Project Generator](https://github.com/robertoachar/generator-node).

[![NPM Version][npm-badge]][npm-url]
[![License][license-badge]][license-url]

> Express Cross-Origin Resource Sharing (CORS) middleware.

This middleware provides the following features:

* **Access-Control-Allow-Origin**: \*
* **Access-Control-Allow-Methods**: GET, POST, PUT, PATCH, DELETE
* **Access-Control-Allow-Headers**: Authorization, Content-Type

# Usage

* Install CORS

```bash
$ npm i @robertoachar/express-cors
```

* Using CORS

```javascript
const express = require('express');
const cors = require('@robertoachar/express-cors');

const app = express();

app.use(cors());

app.get('/', (req, res) => {
  res.json({ message: 'It works!' });
});

app.listen(3000, () => {
  console.log('Running...');
});
```

# Development

* Cloning the repo

```bash
$ git clone https://github.com/robertoachar/express-cors.git
```

* Installing dependencies

```bash
$ npm install
```

* Running scripts

| Action       | Usage          |
| ------------ | -------------- |
| Linting code | `npm run lint` |

# Author

[Roberto Achar](https://twitter.com/robertoachar)

# License

[MIT](https://github.com/robertoachar/express-cors/blob/master/LICENSE)

[npm-badge]: https://img.shields.io/npm/v/@robertoachar/express-cors.svg
[npm-url]: https://www.npmjs.com/package/@robertoachar/express-cors
[license-badge]: https://img.shields.io/github/license/robertoachar/express-cors.svg
[license-url]: https://opensource.org/licenses/MIT
npm package: @robertoachar/webpack-library
Description: webpack library.
Author: Roberto Achar
Latest version: 1.0.0

# webpack-library

Generated by [OSS Project Generator](http://bit.ly/generator-oss-project).

[![Travis Status][travis-badge]][travis-url]
[![AppVeyor Status][appveyor-badge]][appveyor-url]
[![CircleCI Status][circleci-badge]][circleci-url]
[![Coveralls Status][coveralls-badge]][coveralls-url]
[![NPM Version][npm-badge]][npm-url]
[![License][license-badge]][license-url]

> webpack library.

# Installation

Install package

```bash
$ npm install --save webpack-library
```

# Usage

Say `It works!`

```js
const lib = require('webpack-library');

console.log(lib.hello());
```

# Development

- Cloning the repo

```bash
$ git clone https://github.com/robertoachar/webpack-library.git
```

- Installing dependencies

```bash
$ npm install
```

- Running scripts

| Action                                | Usage               |
| ------------------------------------- | ------------------- |
| Start development mode                | `npm start`         |
| Lint code                             | `npm run lint`      |
| Run unit tests                        | `npm run jest`      |
| Run code coverage                     | `npm run coverage`  |
| Run lint + tests                      | `npm test`          |
| Send coverage results to Coveralls.io | `npm run coveralls` |
| Build to publish                      | `npm run build`     |

# Author

[Roberto Achar](https://twitter.com/robertoachar)

# License

[MIT](https://github.com/robertoachar/webpack-library/blob/master/LICENSE)

[travis-badge]: https://travis-ci.org/robertoachar/webpack-library.svg?branch=master
[travis-url]: https://travis-ci.org/robertoachar/webpack-library
[appveyor-badge]: https://ci.appveyor.com/api/projects/status/github/robertoachar/webpack-library?branch=master&svg=true
[appveyor-url]: https://ci.appveyor.com/project/robertoachar/webpack-library
[circleci-badge]: https://circleci.com/gh/robertoachar/webpack-library/tree/master.svg?style=shield
[circleci-url]: https://circleci.com/gh/robertoachar/webpack-library
[coveralls-badge]: https://coveralls.io/repos/github/robertoachar/webpack-library/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/robertoachar/webpack-library?branch=master
[npm-badge]: https://img.shields.io/npm/v/@robertoachar/webpack-library.svg
[npm-url]: https://www.npmjs.com/package/@robertoachar/webpack-library
[license-badge]: https://img.shields.io/github/license/robertoachar/webpack-library.svg
[license-url]: https://opensource.org/licenses/MIT
npm package: @robertoaraneda/nestjs-s3
Description: AWS S3 module for NestJS
Author: Roberto Araneda
Latest version: 1.0.0

# AWS S3 library for NestJS

## Instructions

### Install

```bash
npm install @robertoaraneda/nestjs-s3
```

### Use library

Configure NestjsConsumerModule

1. QueueUrl
2. Handle message function
3. Configure AWS credentials and region

```ts
  import { NestjsSqsConsumerModule } from '@robertoaraneda/nestjs-s3';

  NestjsS3Module.forRootAsync({
    imports: [ConfigModule],
    useFactory: async (configService: ConfigService) => ({
      bucketName: 'bucketname',
      s3Config: {
        region: configService.get('AWS_REGION'),
        credentials: {
          accessKeyId: process.env.AWS_ACCESS_KEY_ID,
          secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
        },
      },
    }),
    inject: [ConfigService],
  })
```
npm package: @robertoaraneda/nestjs-sns
Description: AWS SNS module for NestJS
Author: Roberto Araneda
Latest version: 1.0.3

# AWS SQS Consumer library for NestJS

## Instructions

### Install

```bash
npm install @robertoaraneda/nestjs-sns
```

### Use library

Configure NestjsConsumerModule

1. QueueUrl
2. Handle message function
3. Configure AWS credentials and region

```ts
  import { NestjsSqsConsumerModule } from '@robertoaraneda/nestjs-sns';

  NestjsSnsModule.forRootAsync({
    imports: [ConfigModule],
    useFactory: async (configService: ConfigService) => ({
      topicArn: 'arn',
      snsConfig: {
        region: "aws_region",
        credentials: {
          accessKeyId: "aws_access_key_id",
          secretAccessKey: "aws_secret_access_key",
        },
      },
    }),
    inject: [ConfigService],
  }),
```
npm package: @robertoaraneda/nestjs-sqs
Description: AWS SQS module for NestJS
Author: Roberto Araneda
Latest version: 1.0.0

# AWS SQS Consumer library for NestJS

## Instructions

### Install

```bash
npm install @robertoaraneda/nestjs-sqs
```

### Use library

Configure NestjsConsumerModule

1. QueueUrl
2. Handle message function
3. Configure AWS credentials and region

```ts
  import { NestjsSqsConsumerModule } from '@robertoaraneda/nestjs-sqs';

  NestjsSqsModule.forRootAsync({
    imports: [ConfigModule],
    useFactory: async (configService: ConfigService /**if use configservice to get env vars */) => ({
      queueUrl: "string", // optional
      queueName: "string", // optional
      snsConfig: {
        region: "aws_region",
        credentials: {
          accessKeyId: "aws_access_key_id",
          secretAccessKey: "aws_secret_access_key",
        },
      },
    }),
    inject: [ConfigService],
  })
```
npm package: @robertoartiles/vd-tool
Description: Android Studio Vector Drawable tool
Author: sebastien.tasson@gmail.com
Latest version: 4.1.0

# Changes in This Fork

* upgraded npm dependencies https://github.com/RobertoArtiles/vd-tool/pull/1
* upgraded to the latest version of Vector Drawable Tool built with android tools v31.5.1 https://github.com/RobertoArtiles/vd-tool/pull/2

# vd-tool

Packaging of the Android Studio VectorDrawable CLI tool

## Pre-requisite

- Requires Java 8 or higher

## Sources

Binaries were built using the following branch:
<https://android.googlesource.com/platform/tools/base/+/refs/tags/studio-2020.3.1/vector-drawable-tool>

## Cli

```bash
$ npm install -g vd-tool
$ vd-tool

Converts SVG files to VectorDrawable XML files.
Displays VectorDrawables.
Usage: [-c] [-d] [-in <file or directory>] [-out <directory>] [-widthDp <size>] [-heightDp <size>] [-addHeader]
Options:
  -in <file or directory>:  If -c is specified, Converts the given .svg file
                            to VectorDrawable XML, or if a directory is specified,
                            all .svg files in the given directory. Otherwise, if -d
                            is specified, displays the given VectorDrawable XML file
                            or all VectorDrawables in the given directory.
  -out <directory>          If specified, write converted files out to the given
                            directory, which must exist. If not specified the
                            converted files will be written to the directory
                            containing the input files.
  -c                        If present, SVG files are converted to VectorDrawable XML
                            and written out.
  -d                        Displays the given VectorDrawable(s), or if -c is
                            specified the results of the conversion.
  -widthDp <size>           Force the width to be <size> dp, <size> must be integer
  -heightDp <size>          Force the height to be <size> dp, <size> must be integer
  -addHeader                Add AOSP header to the top of the generated XML file
Examples:
  1) Convert SVG files from <directory> into XML files at the same directory and visualize the XML file results:
  vd-tool -c -d -in <directory>
  2) Convert SVG file and visualize the XML file results:
  vd-tool -c -d -in file.svg
  3) Display VectorDrawable's XML files from <directory>:
  vd-tool -d -in <directory>
```

## Lib

```bash
$ npm i vd-tool
```

```javascript
const { vdConvert } = require('vd-tool')

vdConvert('path/to/svg-file-or-dir', options: {
  outDir?: string     // output dir path
  width?: number      // forces width in DP
  height?: number     // forces height in DP
  addHeader?: boolean // add AOSP header
})
.then(() => {
  //...
})
.catch(({message}) => {
  console.error('message')
})
```