open-index/open-npm huggingface dataset:
npm package: @justintout/feature-flags
Description: Simple feature flags
Author: Justin Tout
Latest version: 1.1.0

# feature-flags
> Simple feature flags

`@justintout/feature-flags` exports a singleton `Features` that allows you to manage boolean feature flags.

## Installation

```
npm i @justintout/feature-flags
```

## Usage 

```typescript
import { Features } from '@justintout/feature-flags';

Features.add(
    {name: 'debugMode', enabled: false, onToggled: (_) => console.info('debug mode has been enabled!')}
);

Features.listen();

if (Features.enabled('debugMode')) {
    console.info('debug mode is enabled!');
}

Features.toggle('debugMode');

window.emit
```

### Features

Features are objects with a `name` that track a boolean `enabled` value. Features can carry an optional `description`. 

Features can be "dynamic" by providing a `ToggleFunction` in `onToggled`. The `onToggled` function will run whenever the feature is toggled. The `onToggled` function will not run when the feature is initially added.

### Add features 

Features are added with `Features.add()`. Adding a feature with an existing name will overwrite the feature. 

```
> Features.add({name: 'debugMode', enabled: false});
```

### Enabled feature

Test if a feature is enabled with `Features.enabled()`. This returns the current state of the feature. This returns `false` if the feature doesn't exist.

```
> Features.enabled('debugMode');
false
```

### Toggle features

Features are toggled with `Features.toggle()`. This returns the new state of the feature. 

Features that don't exist can not be toggled. `Features.toggle()` will silently return `false`.

```
> Features.toggle('debugMode');
true
```

### Features status

Get the state of all features with `Features.status()`. This returns an object with added features as keys and their current state as values. 

```
> Features.status();
{ debugMode: true }
```

### Toggle features across the global scope

It may be helpful to be able to toggle features outside of the package itself. Calling `Features.listen()` will add a function `toggleFeature()` to global scope. This would allow a debug page to change feature settings on the fly.

Passing `false` will remote `toggleFeatures()`.

``` 
> Features.listen();
undefined
> global.toggleFeature('debugMode');
true
```

## Contributing

Pull requests are welcome.
npm package: @justinvdm/xy
Description: draw a line chart from piped in json data in the command line
Author: justinvdm
Latest version: 0.4.0

# xy

draw a line chart from piped in json data in the command line.

![example](https://raw.github.com/justinvdm/xy/master/example.gif)

## install

```
$ npm install -g @justinvdm/xy
```

## usage

```
$ xy --help
Usage: xy [options]

Options:
  --help             Show help  [boolean]
  -n                 displays the last n datapoints  [default: 0]
  --slurp, -s        read the entire input stream and draw just once  [boolean]
  --color, -c        css color string to use for each set  [default: null]
  --set, -S          declare a set by its key to match it to a color  [default: []]
  --time, -t         format x values from unix epoch milliseconds to date strings  [boolean]
  --time-format, -T  strftime format to use to format x values, implies --time  [string]
  -x                 property name for x values  [default: "x"]
  -y                 property name for y values  [default: "y"]
  --key, -k          property name to identify the set each datum belongs to
  --min, -m          minimum y value  [default: null]
  --max, -M          maximum y value  [default: null]
  --rate, -r         number of new datapoints drawn per second  [default: 10]
```
npm package: @justinwaite/react-idle-timer
Description: Activity detection for React.js
Author: Randy Lebeau
Latest version: 1.0.1

<p align="center">
  <a href="https://idletimer.dev">
    <img height="100" src="./logo.svg" />
  </a>
</p>
<h1 align="center">React Idle Timer</h1>

<p align="center">
  <a href="https://www.npmjs.com/package/react-idle-timer">
    <img src="https://img.shields.io/npm/v/react-idle-timer.svg?label=version&color=ff8127" alt="Version">
  </a>
  <a href="https://github.com/supremetechnopriest/react-idle-timer/blob/master/LICENSE">
    <img src="https://img.shields.io/npm/l/react-idle-timer?color=ff7531" alt="License">
  </a>
  <a href="https://www.npmjs.com/package/react-idle-timer">
    <img src="https://img.shields.io/npm/dt/react-idle-timer.svg?color=ff693b" alt="Downloads">
  </a>
  <a href="https://github.com/sponsors/supremetechnopriest?logo=github">
    <img src="https://img.shields.io/github/sponsors/supremetechnopriest?color=ff5c45" alt="GitHub Sponsors">
  </a>
  <a href="https://github.com/SupremeTechnopriest/react-idle-timer/actions/workflows/tests.yml">
    <img src="https://img.shields.io/github/actions/workflow/status/SupremeTechnopriest/react-idle-timer/tests.yml?branch=master&label=tests&color=ff4f50" alt="Tests">
  </a>
  <a href="https://codeclimate.com/github/SupremeTechnopriest/react-idle-timer/test_coverage">
    <img src="https://img.shields.io/codeclimate/coverage/SupremeTechnopriest/react-idle-timer?color=ff415b"alt="Test Coverage">
  </a>
  <a href="https://codeclimate.com/github/SupremeTechnopriest/react-idle-timer/maintainability">
    <img src="https://img.shields.io/codeclimate/maintainability/SupremeTechnopriest/react-idle-timer?color=ff3266" alt="Maintainability">
  </a>
  <a href="https://discord.gg/YPuxNdWA4D">
    <img src="https://img.shields.io/discord/942899080621862913?color=ff2371&label=discord" alt="Discord">
  </a>
</p>

</br>

Welcome to the all new IdleTimer! The documentation has moved to [https://idletimer.dev](https://idletimer.dev). There you can find everything you need to get started using and contributing to IdleTimer.

</br>
</br>

<p align="center">
  <a href="https://idletimer.dev">
    <img src="https://img.shields.io/badge/%20-docs-ff8127.svg?&longCache=true&style=for-the-badge" alt="Docs" />
  </a>
  <a href="https://discord.gg/YPuxNdWA4D">
    <img src="https://img.shields.io/badge/%20-discord-ff554b.svg?&longCache=true&style=for-the-badge" alt="Discord" />
  </a>
  <a href="https://github.com/supremetechnopriest/react-idle-timer/issues/new/choose">
    <img src="https://img.shields.io/badge/%20-issues-FF2371.svg?&longCache=true&style=for-the-badge" alt="Issues" />
  </a>
</p>

<p align="center">
  <a href="https://github.com/standard/standard">
    <img src="https://cdn.rawgit.com/standard/standard/master/badge.svg" alt="JavaScript Style Guide" />
  </a>
</p>
npm package: @justjavac/typography-theme-github
Description: A theme for Typography.js inspired by Github's Markdown typography
Author: 迷渡
Latest version: 0.1.5

# typography-theme-github

A theme for [Typography.js](https://github.com/kyleamathews/typography.js) inspired by Github's Markdown typography

## Install

Use npm:

```bash
npm install --save typography @justjavac/typography-theme-github
```

Or, use yarn:


```bash
yarn add typography @justjavac/typography-theme-github
```

## Usage

```js
import Typography from 'typography'
import githubTheme from '@justjavac/typography-theme-github'

const typography = new Typography(githubTheme)
```

## More on theme

Github uses "-apple-system" for headers and "-apple-system" for body text
npm package: @justjoostnl/expo-video
Description: A cross-platform, performant video component for React Native and Expo with Web support
Author: 650 Industries, Inc.
Latest version: 5.0.0

<p>
  <a href="https://docs.expo.dev/versions/unversioned/sdk/video/">
    <img
      src="../../.github/resources/expo-video.svg"
      alt="expo-video"
      height="64" />
  </a>
</p>

A cross-platform, performant video component for React Native and Expo with Web support

# API documentation

- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/video/)
- [Documentation for the main branch](https://docs.expo.dev/versions/unversioned/sdk/video/)

# Installation in managed Expo projects

For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects &mdash; it is likely to be included in an upcoming Expo SDK release.

# Installation in bare React Native projects

For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

### Add the package to your npm dependencies

```
npm install expo-video
```

# Contributing

Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).