open-index/open-npm huggingface dataset:
npm package: @startupjs/sharedb
Description: JSON OT database backend
Author: Nate Smith and Joseph Gentle
Latest version: 5.2.2-1

# ShareDB

  [![NPM Version](https://img.shields.io/npm/v/sharedb.svg)](https://npmjs.org/package/sharedb)
  ![Test](https://github.com/share/sharedb/workflows/Test/badge.svg)
  [![Coverage Status](https://coveralls.io/repos/github/share/sharedb/badge.svg?branch=master)](https://coveralls.io/github/share/sharedb?branch=master)

ShareDB is a realtime database backend based on [Operational Transformation
(OT)](https://en.wikipedia.org/wiki/Operational_transformation) of JSON
documents. It is the realtime backend for the [DerbyJS web application
framework](http://derbyjs.com/).

For help, questions, discussion and announcements, join the [ShareJS mailing
list](https://groups.google.com/forum/?fromgroups#!forum/sharejs) or [read the documentation](https://share.github.io/sharedb/
).

Please report any bugs you find to the [issue
tracker](https://github.com/share/sharedb/issues).

## Features

 - Realtime synchronization of any JSON document
 - Concurrent multi-user collaboration
 - Synchronous editing API with asynchronous eventual consistency
 - Realtime query subscriptions
 - Simple integration with any database
 - Horizontally scalable with pub/sub integration
 - Projections to select desired fields from documents and operations
 - Middleware for implementing access control and custom extensions
 - Ideal for use in browsers or on the server
 - Offline change syncing upon reconnection
 - In-memory implementations of database and pub/sub for unit testing
 - Access to historic document versions
 - Realtime user presence syncing

## Documentation

https://share.github.io/sharedb/

## Examples

### Counter

[<img src="examples/counter/demo.gif" height="300">](examples/counter)

### Leaderboard

[<img src="examples/leaderboard/demo.gif" height="436">](examples/leaderboard)

## Development

### Documentation

The documentation is stored as Markdown files, but sometimes it can be useful to run these locally. The docs are served using [Jekyll](https://jekyllrb.com/), and require Ruby >2.4.0 and [Bundler](https://bundler.io/):

```bash
gem install jekyll bundler
```

The docs can be built locally and served with live reload:

```bash
npm run docs:install
npm run docs:start
```
npm package: @startupjs/sharedb-mingo-memory
Description: In-memory database adapter with MongoDB API for ShareDB
Author: Avital Oliver
Latest version: 4.0.0-2

# ShareDBMingo

  [![NPM Version](https://img.shields.io/npm/v/sharedb-mingo-memory.svg)](https://npmjs.org/package/sharedb-mingo-mongo)
  [![Build Status](https://travis-ci.org/share/sharedb-mingo-memory.svg?branch=master)](https://travis-ci.org/share/sharedb-mingo-memory)
  [![Coverage Status](https://coveralls.io/repos/github/share/sharedb-mingo-memory/badge.svg?branch=master)](https://coveralls.io/github/share/sharedb-mingo-memory?branch=master)

A database adapter for [sharedb](https://github.com/share/sharedb)
that implements a subset of Mongo operations using an in-memory
database. This adapter can be useful for running application tests
faster by not requiring a full database. It is also used by tests for
sharedb itself.

## Usage

```js
var ShareDBMingo = require('sharedb-mingo-memory');
var db = new ShareDBMingo();
```

Another form is useful at times:
`ShareDBMingo.extendMemoryDB(MemoryDB)`.  This creates a new
ShareDBMingo class that extends from a particular MemoryDB class, in
case there are more than one available. This is particularly important
to ensure sharedb tests aren't testing the version of sharedb being
used by sharedb-mingo-memory.

## Queries

sharedb-mingo-memory uses [mingo](https://github.com/kofrasa/mingo)
and supports the same queries mingo supports. In addition, some special
top-level fields are supported, and map to Mongo cursor methods:
* `$orderby` (TODO: rename to `$sort`)
* `$skip`
* `$limit`
* `$count`

Other special operators that are supported in sharedb-mongo such as
`$mapReduce` and `$aggregate` aren't supported and will throw an error
if used.
npm package: @startupjs/ui
Description: UI components for react-native
Latest version: 0.54.27

# startupjs ui
> UI components for react-native

## Installation

```sh
yarn add @startupjs/ui
```

### Requirements

```
@react-native-picker/picker: >=1.16.1
react: 16.9 - 17
react-native: >= 0.61.4 < 0.64.0
react-native-color-picker: ^0.6.0
react-native-collapsible: >= 1.6.0
react-native-gesture-handler: >= 1.10.3
react-native-pager-view: >= 6.2.0
react-native-svg: >= 12.1.0
react-native-tab-view: >= 3.0.0
startupjs: >= 0.33.0
```

### Linking
Link startupjs library (required for all React Native versions)

```
  npx startupjs link
```

## Configuration
1. Import UI styles in your root style file `styles/index.styl`. You can also override any default configuration here (palette, colors, variables, etc.):
```styl
@require('../node_modules/@startupjs/ui/styles/index.styl')
$UI = merge($UI, {
  colors: {
    primary: '#4a76a8',
    warning: '#880000'
  },
  Button: {
    heights: {
      xxl: 10u
    },
    outlinedBorderWidth: 2px
  }
}, true)
```

2. Connect styles from external CSS

Import `initUi` and` getUiHead` and connect them in the body of the `startupjsServer` and `getHead` functions in `server/index.js`.

```js
import { getUiHead, initUi } from '@startupjs/ui/server'

startupjsServer({
  getHead,
  ...
}, (ee, options) => {
  ...
  initUi(ee, options)
  ...
})

function getHead () {
  return `
    ${getUiHead()}
    other head text
  `
}
```

## App plugin

Register ui plugin for app

```js
import { registerPlugins } from '@startupjs/plugin'
import { uiAppPlugin } from '@startupjs/ui'

...

registerPlugins({
  '@startupjs/app': [
    [uiAppPlugin, { defaultEnabled: true, style: overridesStyle }]
  ]
})
```

where `overridesStyle` is the styles to override default components' styles and for the override to work the component must be wrapped into `themed()` decorator. The override syntax looks requires that component is referred as a class by its name (starting with a capital letter) in the `.styl` file. For example `Button` is referred as `.Button`:

```styl
.Button
  color red
  &:part(hover)
    color green
  &:part(active)
    color blue
```

## Usage
```js
import { Button } from '@startupjs/ui'
```

## Additional materials
- [Material design](https://material.io/design/)

## TODO

- document `themed()` HOF and theming overall
npm package: @startupquickstart/react-dayjs
Description: React component for the dayjs date library.
Author: Thomas Boles
Latest version: 0.5.1

# react-dayjs

React component for the [dayjs][dayjs] date library.

![npm](https://img.shields.io/npm/v/react-dayjs.svg?color=blue&style=flat-square) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/startupquickstart/react-dayjs/blob/master/LICENSE.md)

- [react-dayjs](#react-dayjs)
  - [Installing](#installing)
  - [Quick Start](#quick-start)
  - [Documentation](#documentation)
  - [Contributing](#contributing)
  - [License](#license)


## Installing

Use npm to install `react-dayjs` as well as its peer dependency, `dayjs`.

```bash
npm install --save dayjs @startupquickstart/react-dayjs
```

Then, import the package into your React project:

```jsx
import React from 'react';
import DayJS from '@startupquickstart/react-dayjs';

export default class Application extends React.Component {
    ...
}
```

## Quick Start
Add the `DayJS` component to a component:

```jsx
import React from 'react';
import DayJS from '@startupquickstart/react-dayjs';

export default class MyComponent extends React.Component {
    render() {
        const date = "2000-01-31T12:59-0500";
        return (
            <DayJS>{ date }</DayJS>
        );
    }
}
```

This will output:

```html
<time>2000-01-31T11:59:00-05:00</time>
```

## Documentation

Read [DOCUMENTATION.md][documentation] to view the technical details of the component and its props.

## Contributing

Interested in contributing? Read [CONTRIBUTING.md][contributing] to learn more.

## License

This software is released under the MIT license. See [LICENSE.md][license] for more details.

[contributing]: https://github.com/startupquickstart/react-dayjs/blob/master/CONTRIBUTING.md
[dayjs]: https://github.com/xx45/dayjs
[documentation]: https://github.com/startupquickstart/react-dayjs/blob/master/DOCUMENTATION.md
[license]: https://github.com/startupquickstart/react-dayjs/blob/master/LICENSE.md
npm package: @startupsquare/ds
Description: Startupsquare.co design system and ui library
Author: Ossama Zaid
Latest version: 0.2.92

# Startupsquare Design System

React Tailwindcss ui components and patterns powering [startupsquare.co](https://startupsquare.co) platform.

##### Preview components at [ds.startupsquare.co](http://ds.startupsquare.co)

⚠ This package suppose tailwindcss is configured in your project.

### 🚀 Usage

Install

`npm i @startupsquare/ds`

Or, if you're using **yarn**

`yarn add @startupsquare/ds`

Use components inside your project

```js
import { Button } from "@startupsquare/ds";

function App() {
  return <Button intent="primary">Hi there!</Button>;
}

export default App;
```
npm package: @startvibe/cli-usage
Description: Easily show CLI usage from a markdown source file
Author: Mikael Brevik
Latest version: 0.1.11

# cli-usage

Easily show the usage of your CLI tool from a Markdown string
or file. You can just plug `cli-usage` in without thinking
about paramters, or you can handle that your self using the
`.get` API end-point.

## Install

```
npm install cli-usage
```

## Usage

Most basic usage, just plug in:

```javascript
var usage = require('cli-usage');
usage();
//=> If help-flag is passed, print usage
//=> and exit with code 0.
```

This will listen for `-h`, `-help` or `--help` passed
into your CLI and try to locate a `usage.md` file from
the directory of the file. If `help` is passed and the
`usage.md` file found, the usage will be printed and
the application will exit with code `0`.

You can also pass in a filename or a string.

```javascript
var usage = require('cli-usage');
usage('./some/path/to/usage.md');
```

or

```javascript
var usage = require('cli-usage');
usage('# Simple usage');
```

### Get compiled usage
Instead of `cli-usage` doing all the work, you can
also just retrieve the compiled usage text and handle
it your self.

#### Example
```javascript
var usage = require('cli-usage');

console.log(usage.get('# some custom markdown from string'));

console.log(usage.get('./usage.md'));
```
npm package: @startvibe/node-notifier-cli
Description: CLI API for node-notifier
Author: Mikael Brevik
Latest version: 2.0.2

# `node-notifier` CLI

Separate package for [`node-notifier`](https://github.com/startvibe/node-notifier) CLI.

## Install

```
npm i [-g] @startvibe/node-notifier-cli
```

or try it out with [npx](https://www.npmjs.com/package/npx)

```
npx -p @startvibe/node-notifier-cli notify -t 'Hello' -m 'My message'
```

## usage

```
notify -h
```

```
# notify
## Options

    * --help (alias -h)

    * --title (alias -t)
    * --subtitle (alias -st; not available on Windows OS)
    * --message (alias -m)
    * --icon (alias -i)
    * --sound (alias -s; use none to disable default sound notification)
    * --open (alias -o)
    * --port (alias -p)
    * --host
    * --failsafe (alias -x; time in milliseconds)

## Example

   $ notify -t "Hello" -m "My Message" -s --open http://github.com
   $ notify -t "Agent Coulson" --icon https://raw.githubusercontent.com/startvibe/node-notifier/master/example/coulson.jpg
   $ notify -m "My Message" -s Glass
   $ echo "My Message" | notify -t "Hello"
```