open-index/open-npm huggingface dataset:
npm package: 2-camel-case
Description: library for converting an object or array to the camelcase style
Latest version: 1.1.0

# 2-camel-case

Converting an object or array of any nesting level to camelcase style

## Installation

```
$ npm install 2-camel-case
```

or

```
$ yarn add 2-camel-case
```

## Example

```js
import toCamelCase from '2-camel-case';

toCamelCase({
  first_name: 'Ivan',
  middle_name: 'Ivanovich',
  last_name: 'Ivanov',
});
/* 
  return {
    firstName: 'Ivan',
    middleName: 'Ivanovich',
    lastName: 'Ivanov', 
  }
*/

toCamelCase([
  {
    first_name: 'Ivan',
    middle_name: 'Ivanovich',
    last_name: 'Ivanov',
  },
]);
/* 
  return [
  {
    firstName: 'Ivan',
    middleName: 'Ivanovich',
    lastName: 'Ivanov',
  },
]
*/
```

## API

### toCameCase(data)

#### data

Type: `array | object`
npm package: 2-sat
Description: 2SAT solver
Author: Mikola Lysenko
Latest version: 1.0.1

2-sat
=====
[2SAT](http://en.wikipedia.org/wiki/2-satisfiability) is a restricted version of the boolean satisfiability problem where the number of variables per clause is at most 2.  Works both in node.js and in the browser using browserify.

## Example

```javascript
var twoSat = require("2-sat")

//Solve problem:
//
//    (x1 | !x2) & (x3 | x1) & (x3 | x2)
//
console.log(twoSat(3, [[1, -2], [3, 1], [3,2]]))
```

## API

### `require("2-sat")(numVariables, clauses)`
Finds a satisfying assignment for a 2SAT problem written in conjunctive normal form.  If no assignment is possible returns `false`.

* `numVariables` is the number of variables
* `clauses` is a list of binary clauses.  Variables are indexed in clauses starting at `1` and negative values indicate negation.

**Returns** A vector of assignments to the variables of the clause.  If problem is not satisfiable, returns `false`

## Credits
(c) 2013 Mikola Lysenko. MIT License
npm package: 20-20-20-timer
Description: A command line 20-20-20 timer for FAC students
Author: Zooey Miller
Latest version: 1.0.3

## How do I use it?
1. Run `npm install -g 20-20-20-timer`
2. To start the timer run `twenty` in your terminal, and press `ctrl+c` when you're done to end the process.
3. If you want your prompt back straight away you can run `twenty &`, and the timer will run in the background.
  * to bring it back into the foreground you can run `fg`
  * once it's in the foreground you can press `ctrl+c` as normal when you're done to end the process.

## Why?
Students at Founders and Coders are encouraged to engage in what we call 20-20-20 which is a way to deal with problems when we get stuck. Spend 20 minutes on your own/in your pair working on a problem, when that time is up you ask members of your cohort to help you out for 20 minutes, and when that time is up you spend 20 minutes with a mentor trying to solve the problem.<br>My trouble is, I never do this, I never acknowledge when 20 minutes has passed, I want an app to help me do this!

## What?
A command line app written in node.js, which will give desktop notifications at 20 minute intervals to let you know when to ask your cohort members or mentors

## How?

Using a setInterval to check the time passed since the process was started with the Javascript date object, and using the [node-notifier](https://www.npmjs.com/package/node-notifier) module for cross platform desktop notifications at 20 minute intervals.

## Basic plan

* run a terminal command, something like "twenty --start" -> Get a desktop notification saying "timer started, good luck"
* After 20 minutes pass get a desktop notification saying "your twenty minutes is up! ask a cohort member"
* after another 20 minutes get a desktop notification saying "another twenty minutes is up! ask a mentor"
* after the final 20 minutes is up get a desktop notification saying "the whole of the 20/20/20 is up, the timer has been reset. Hoep you found a solution!"
* run "twenty --stop" to stop, get a notification saying "problem solved! good job"