open-index/open-npm huggingface dataset:
npm package: @jonny/socket.io-client
Description: Intended for using in React Native. Much smaller because the following changes were made:
Latest version: 2.3.3

## Jonnys socket.io fork

Intended for using in React Native. Much smaller because the following changes were made: 

- Remove polyfills
- Remove debug package
- Use slim package
- Remove `indexof` package
- Removing all other transports other than websocket
- Remove support for binary
- Enable screw_ie8=true 
- Remove babel compilation (RN will do it again)

# socket.io-client

[![Build Status](https://secure.travis-ci.org/socketio/socket.io-client.svg?branch=master)](http://travis-ci.org/socketio/socket.io-client)
[![Dependency Status](https://david-dm.org/socketio/socket.io-client.svg)](https://david-dm.org/socketio/socket.io-client)
[![devDependency Status](https://david-dm.org/socketio/socket.io-client/dev-status.svg)](https://david-dm.org/socketio/socket.io-client#info=devDependencies)
[![NPM version](https://badge.fury.io/js/socket.io-client.svg)](https://www.npmjs.com/package/socket.io-client)
![Downloads](http://img.shields.io/npm/dm/socket.io-client.svg?style=flat)
[![](http://slack.socket.io/badge.svg?)](http://slack.socket.io)

[![Sauce Test Status](https://saucelabs.com/browser-matrix/socket.svg)](https://saucelabs.com/u/socket)

## How to use

A standalone build of `socket.io-client` is exposed automatically by the
socket.io server as `/socket.io/socket.io.js`. Alternatively you can
serve the file `socket.io.js` found in the `dist` folder or include it via [CDN](https://cdn.jsdelivr.net/npm/socket.io-client@2/dist/socket.io.js).

```html
<script src="/socket.io/socket.io.js"></script>
<script>
  var socket = io('http://localhost');
  socket.on('connect', function(){});
  socket.on('event', function(data){});
  socket.on('disconnect', function(){});
</script>
```

```js
// with ES6 import
import io from 'socket.io-client';

const socket = io('http://localhost');
```

A slim build (without `JSON3`, a JSON polyfill for IE6/IE7, and `debug`) is also available: `socket.io.slim.js`.

Socket.IO is compatible with [browserify](http://browserify.org/) and [webpack](https://webpack.js.org/) (see example [there](https://github.com/socketio/socket.io/tree/2.0.3/examples/webpack-build)).

### Node.JS (server-side usage)

  Add `socket.io-client` to your `package.json` and then:

  ```js
  var socket = require('socket.io-client')('http://localhost');
  socket.on('connect', function(){});
  socket.on('event', function(data){});
  socket.on('disconnect', function(){});
  ```

## API

See [API](/docs/API.md)

## License

[MIT](/LICENSE)
npm package: @jonny/touchable-scale
Description: Button that animates scale when pressed
Author: Jonny Burger
Latest version: 1.0.2

<p align="center">
  <img src="https://user-images.githubusercontent.com/1629785/91853017-e2d7d580-ec61-11ea-8f17-e1b709b25bf2.gif"><br/> <br>
  <strong>@jonny/touchable-scale</strong>
  <br>
React Native Button that animates it's scale when pressed.
  <br>
</p>

## Installation

```sh
npm install @jonny/touchable-scale
```

Also requires [Reanimated 2](https://github.com/software-mansion/react-native-reanimated) and [Gesture Handler](https://github.com/software-mansion/react-native-gesture-handler).

> Since Version 1.0.0, only Reanimated 2 is supported. If you are still using Reanimated 1, install the latest version of the 0.x release line.

## Usage

```tsx
import TouchableScale from '@jonny/touchable-scale';

export const MyComponent: React.FC = () => {
  const onPress = useCallback(() => console.log('pressed'));
  return <TouchableScale onPress={onPress}></TouchableScale>;
};
```

## API

`<TouchableScale/>` follows the same API as `<TouchableOpacity/>` and should be more or less a drop-in replacement without any changes.

The prop `activeScale` controls the scale while the button is pressed. The default is `0.95`.

The prop `transitionDuration` controls the duration of the transition when the button is pressed in miliseconds. The default is 60.

There are no event objects in the `onPress` callback. See below in the disadvantages section.

You can use the exported `TouchableScaleProps` type to create typed higher order components.

## Advantages over TouchableOpacity

- `<TouchableScale>` is a joyful, modern-looking, animated Touchable.
- Implemented in Reanimated, `<TouchableScale/>` does not have to cross the bridge to update it's state. It can therefore react to touches faster and feels more snappy.

## Disadvantages over TouchableOpacity

- Only `onPress` and `onLongPress` events are supported. Other touch events such as `onPressIn` don't work on Android because these events are not being propagated when the button is wrapped in Gesture Handlers. Avoid using this component when you need to listen to events other than `onPress` or `onLongPress`.

- A press is detected using Gesture Handler state instead of the Touchable Event system, this means there is no event object in the callback: `onPress={(e) => console.log(e) // undefined}`.

- Additional dependency on Reanimated and Gesture Handler.

## See also

- [react-native-scale-button](https://github.com/sa8ab/react-native-scale-button) - Button written in Reanimated 2

## Credits

Contains functions taken from [Redash](https://github.com/wcandillon/react-native-redash). Shoutout to William.

## License

MIT
npm package: @jonny/uzh-course-shortname
Description: Abbreviate course names from UZH
Author: Jonny Burger
Latest version: 1.1.1

# uzh-course-shortname [![Build Status](https://travis-ci.org/JonnyBurger/uzh-course-shortname.svg?branch=master)](https://travis-ci.org/JonnyBurger/uzh-course-shortname)

> Abbreviate course names from UZH, even complex ones.

This module tries to remove everything but the most relevant part of a UZH module name.


Example:
`002a Proseminario I di linguistica italiana: Elementi di linguistica sincronica` gets abbreviated to `Elementi di linguistica sincronica`.


`BWL III (V+Ü) (Business Administration III)` gets abbreviated to `BWL III`.


`LTK Modul 5: Zuchtmanagement Nagetiere` gets abbreviated to `Zuchtmanagement Nagetiere`.


## Install

```
$ npm install --save @jonny/uzh-course-shortname
```


## Usage

```js
const uzhCourseShortname = require('@jonny/uzh-course-shortname');

uzhCourseShortname('159 Aufbaumodul 3 NDL (SU): Poetik und Praxis des Notierens');
//=> 'Poetik und Praxis des Notierens'
```


## API

### uzhCourseShortname(input)

#### input

Type: `string`


## License

MIT © [Jonny Burger](http://jonny.io)