# neuroscience

Latest version **1.0.312** (published 2019-07-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install neuroscience
pnpm add neuroscience
yarn add neuroscience
bun add neuroscience
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.312 |
| Published | 2019-07-04 |
| First published | 2019-05-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 28.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | playerone |

## Links

- npm: https://www.npmjs.com/package/neuroscience
- npm.io page: https://npm.io/package/neuroscience

## Dependencies (2)

- [uuid](https://npm.io/package/uuid.md) ^3.3.2
- [@types/uuid](https://npm.io/package/@types/uuid.md) ^3.4.5

## Recent versions

- 1.0.312 (latest) — 2019-07-04
- 1.0.311 — 2019-07-04
- 1.0.31 — 2019-07-04
- 1.0.3 — 2019-07-04
- 1.0.2 — 2019-07-02
- 1.0.1 — 2019-07-02
- 1.0.0 — 2019-05-28

## README

# Neuroscience



```
npm i neuroscience;
```

## Example:

```
const { Model } = require('neuroscience');


const person = new Model();

const insightOne = person.update('Information', {
    age: 25,
    weight: 155
}, [
    function(e) {
        const l = {
            age: e.age+1,
            weight: e.weight+25
        }
        return l;
    }
]);


const insightTwo = person.update('Information', {
    hair: 'Brown'
}, [
    function(e) {
        const test = JSON.parse(insightOne[0]);

        if (test.age === 26) {
            const l = {
                hair: "Blue"
            }
            return l;
        } else {
            return e;
        }
    }
]);

console.log(insightTwo)

// Currently equals insightTwo
const query = person.query('Information');
console.log(query)
```

---
_Source: https://npm.io/package/neuroscience · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
