# json-spider

> JsonSpider weaves logic from json

Latest version **0.0.11** (published 2020-02-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install json-spider
pnpm add json-spider
yarn add json-spider
bun add json-spider
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2020-02-18 |
| First published | 2019-12-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 88.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | V.Kruglikov |
| Maintainers | vkruglikov |

## Links

- npm: https://www.npmjs.com/package/json-spider
- Repository: https://github.com/vkruglikov/json-spider
- Homepage: https://github.com/vkruglikov/json-spider#readme
- Issues: https://github.com/vkruglikov/json-spider/issues
- npm.io page: https://npm.io/package/json-spider

## Recent versions

- 0.0.11 (latest) — 2020-02-18
- 0.0.10 — 2019-12-18
- 0.0.9 — 2019-12-18

## README

[![NPM](https://img.shields.io/npm/v/json-spider.svg)](https://www.npmjs.com/package/json-spider)

# Json-Spider

#### Constant expression
```javascript
// Will output 1

console.log(calculateExpression({
    type: 'CONSTANT',
    value: 'test',
    valueType: 'STRING'
}));
```
#### Division expression
```javascript
// Will output 10

console.log(calculateExpression({
  type: 'EXP_DIVISION',
  left: {
      type: 'CONSTANT',
      value: 100,
      valueType: 'NUMBER'
  },
  right: {
      type: 'CONSTANT',
      value: 10,
      valueType: 'NUMBER'
  }
}))
```

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