# webgme-logic-gates

> Logic Gates domain for webgme allowing modelling of logical circuitry.

Latest version **1.0.2** (published 2017-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install webgme-logic-gates
pnpm add webgme-logic-gates
yarn add webgme-logic-gates
bun add webgme-logic-gates
```

## 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.2 |
| Published | 2017-09-15 |
| First published | 2017-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | WebGME Development Team |
| Maintainers | pmeijer |
| Keywords | webgme, LogicGates, webgme-domain |

## Links

- npm: https://www.npmjs.com/package/webgme-logic-gates
- Repository: https://github.com/webgme/logic-gates
- Homepage: https://github.com/webgme/logic-gates#readme
- Issues: https://github.com/webgme/logic-gates/issues
- npm.io page: https://npm.io/package/webgme-logic-gates

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2017-09-15
- 1.0.1 — 2017-09-15
- 1.0.0 — 2017-04-21

## README

# Logic Gates
[Logic Gates](https://en.wikipedia.org/wiki/Logic_gate) domain with seed, decorator, and plugin for generating .

![Logic-gates](img/exampleScreenshot.png "Metamodel and a simple flip-flop")

## Run as a standalone webgme app
Make sure the [dependencies for webgme](https://github.com/webgme/webgme/blob/master/README.md#dependencies) are installed.
 1. Clone this repository or from an empty directory do `npm install webgme-logic-gates`. From the root of this module (i.e. where this README.md is do the following commands).
 2. `npm install` - installs all dependencies
 3. `npm install webgme` - installs webgme (it's a [peer-dependency](https://nodejs.org/en/blog/npm/peer-dependencies/)).
 4. Launch a local mongodb instance (if not local edit the webgme config).
 5. `npm start`
 6. Visit localhost:8888 from a browser.

## Import components into your own webgme repo
Using the [webgme-cli](https://github.com/webgme/webgme-cli) the following pieces can be imported (execute from root of repository).

#### Seed
Serialized model containing the logic-gates metamodel and some examples.
```
webgme import seed LogicGates webgme-logic-gates
```
#### Decorator
Decorates the gates, ports, and circuits in an appropriate fashion. The seed already registers the decorator for the appropriate nodes.
```
webgme import decorator LogicGatesDecorator webgme-logic-gates
```

## Developers

#### Publish new release at npm
 ```
 npm prune
 npm install
 npm version 1.1.0 -m "Release %s"
 git push origin master
 git checkout v1.1.0
 git push origin v1.1.0
 npm publish ./
 ```

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