open-index/open-npm huggingface dataset:
npm package: @khoatran1996/tabs
Description: Simple Tabs React Component
Author: Ngoc Khoa Tran
Latest version: 1.0.5


# Tabs

Simple Tabs component

![Image Screen Shot](https://user-images.githubusercontent.com/30297271/79429971-6f0a9880-7ff2-11ea-85d4-59226cc61c51.png)

## Usage

### API

1. *Tabs*

| Properties  | Description         | Required |
|-------------|---------------------|----------|
| activeTab   | Default active Tab  | False    |


2. *TabPane*

| Properties  | Description         | Required |
|-------------|---------------------|----------|
| tab         | Name of Tab         | True     |

### Code

```javascript
export default class App extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (<Tabs activeTab={"Tab2"}>
            <TabPane tab="Tab1">
                Hello this is Tab1
            </TabPane>
            <TabPane tab="Tab2">
                Hello this is Tab2
            </TabPane>
            <TabPane tab="Tab3">
                Hello this is Tab3
            </TabPane>
        </Tabs>);
    }
};
```
npm package: @khoazero123/actions-toolkit-cache
Description: Actions cache lib
Latest version: 2.0.3

# `@actions/cache`

> Functions necessary for caching dependencies and build outputs to improve workflow execution time.

See ["Caching dependencies to speed up workflows"](https://help.github.com/github/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows) for how caching works.

Note that GitHub will remove any cache entries that have not been accessed in over 7 days. There is no limit on the number of caches you can store, but the total size of all caches in a repository is limited to 10 GB. If you exceed this limit, GitHub will save your cache but will begin evicting caches until the total size is less than 10 GB.

## Usage

This package is used by the v2+ versions of our first party cache action. You can find an example implementation in the cache repo [here](https://github.com/actions/cache). 

#### Save Cache

Saves a cache containing the files in `paths` using the `key` provided. The files would be compressed using zstandard compression algorithm if zstd is installed, otherwise gzip is used. Function returns the cache id if the cache was saved succesfully and throws an error if cache upload fails. 

```js
const cache = require('@actions/cache');
const paths = [
    'node_modules',
    'packages/*/node_modules/'
]
const key = 'npm-foobar-d5ea0750'
const cacheId = await cache.saveCache(paths, key)
```

#### Restore Cache

Restores a cache based on `key` and `restoreKeys` to the `paths` provided. Function returns the cache key for cache hit and returns undefined if cache not found. 

```js
const cache = require('@actions/cache');
const paths = [
    'node_modules',
    'packages/*/node_modules/'
]
const key = 'npm-foobar-d5ea0750'
const restoreKeys = [
    'npm-foobar-',
    'npm-'
]
const cacheKey = await cache.restoreCache(paths, key, restoreKeys)
```
npm package: @khoazero123/localtunnel
Description: expose localhost to the world
Author: KhoaZero123
Latest version: 1.0.0

# httptunnel

[![Build Status](https://travis-ci.org/httptunnel/httptunnel.svg?branch=master)](https://travis-ci.org/httptunnel/httptunnel)

httptunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.

Great for working with browser testing tools like browserling or external api callback services like twilio which require a public url for callbacks.

## installation ##

```
npm install -g httptunnel
```

This will install the httptunnel module globally and add the 'lt' client cli tool to your PATH.

## use ##

Assuming your local server is running on port 8000, just use the ```lt``` command to start the tunnel.

```
lt --port 8000
```

Thats it! It will connect to the tunnel server, setup the tunnel, and tell you what url to use for your testing. This url will remain active for the duration of your session; so feel free to share it with others for happy fun time!

You can restart your local server all you want, ```lt``` is smart enough to detect this and reconnect once it is back.

### arguments

Below are some common arguments. See `lt --help` for additional arguments

* `--subdomain` request a named subdomain on the httptunnel server (default is random characters)
* `--local-host` proxy to a hostname other than localhost

You may also specify arguments via env variables.  E.x.

```
PORT=3000 lt
```

## API ##

The httptunnel client is also usable through an API (for test integration, automation, etc)

### httptunnel(port [,opts], fn)

Creates a new httptunnel to the specified local `port`. `fn` will be called once you have been assigned a public httptunnel url. `opts` can be used to request a specific `subdomain`.

```javascript
var httptunnel = require('httptunnel');

var tunnel = httptunnel(port, function(err, tunnel) {
    if (err) ...

    // the assigned public url for your tunnel
    // i.e. https://abcdefgjhij.httptunnel.tech
    tunnel.url;
});

tunnel.on('close', function() {
    // tunnels are closed
});
```

### opts

* `subdomain` A *string* value requesting a specific subdomain on the proxy server. **Note** You may not actually receive this name depending on availability.
* `local_host` Proxy to this hostname instead of `localhost`. This will also cause the `Host` header to be re-written to this value in proxied requests.

### Tunnel

The `tunnel` instance returned to your callback emits the following events

|event|args|description|
|----|----|----|
|request|info|fires when a request is processed by the tunnel, contains _method_ and _path_ fields|
|error|err|fires when an error happens on the tunnel|
|close||fires when the tunnel has closed|

The `tunnel` instance has the following methods

|method|args|description|
|----|----|----|
|close||close the tunnel|

## License ##
MIT
npm package: @khoazero123/locatunnel
Description: expose localhost to the world
Author: KhoaZero123
Latest version: 1.0.0

# httptunnel

[![Build Status](https://travis-ci.org/httptunnel/httptunnel.svg?branch=master)](https://travis-ci.org/httptunnel/httptunnel)

httptunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.

Great for working with browser testing tools like browserling or external api callback services like twilio which require a public url for callbacks.

## installation ##

```
npm install -g httptunnel
```

This will install the httptunnel module globally and add the 'lt' client cli tool to your PATH.

## use ##

Assuming your local server is running on port 8000, just use the ```lt``` command to start the tunnel.

```
lt --port 8000
```

Thats it! It will connect to the tunnel server, setup the tunnel, and tell you what url to use for your testing. This url will remain active for the duration of your session; so feel free to share it with others for happy fun time!

You can restart your local server all you want, ```lt``` is smart enough to detect this and reconnect once it is back.

### arguments

Below are some common arguments. See `lt --help` for additional arguments

* `--subdomain` request a named subdomain on the httptunnel server (default is random characters)
* `--local-host` proxy to a hostname other than localhost

You may also specify arguments via env variables.  E.x.

```
PORT=3000 lt
```

## API ##

The httptunnel client is also usable through an API (for test integration, automation, etc)

### httptunnel(port [,opts], fn)

Creates a new httptunnel to the specified local `port`. `fn` will be called once you have been assigned a public httptunnel url. `opts` can be used to request a specific `subdomain`.

```javascript
var httptunnel = require('httptunnel');

var tunnel = httptunnel(port, function(err, tunnel) {
    if (err) ...

    // the assigned public url for your tunnel
    // i.e. https://abcdefgjhij.httptunnel.tech
    tunnel.url;
});

tunnel.on('close', function() {
    // tunnels are closed
});
```

### opts

* `subdomain` A *string* value requesting a specific subdomain on the proxy server. **Note** You may not actually receive this name depending on availability.
* `local_host` Proxy to this hostname instead of `localhost`. This will also cause the `Host` header to be re-written to this value in proxied requests.

### Tunnel

The `tunnel` instance returned to your callback emits the following events

|event|args|description|
|----|----|----|
|request|info|fires when a request is processed by the tunnel, contains _method_ and _path_ fields|
|error|err|fires when an error happens on the tunnel|
|close||fires when the tunnel has closed|

The `tunnel` instance has the following methods

|method|args|description|
|----|----|----|
|close||close the tunnel|

## License ##
MIT