# electron-qeda

> Wrapper for using qeda with electron.

Latest version **1.0.2** (published 2018-08-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install electron-qeda
pnpm add electron-qeda
yarn add electron-qeda
bun add electron-qeda
```

## 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 | 2018-08-10 |
| First published | 2018-08-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David Craven |
| Maintainers | dvc94ch |

## Links

- npm: https://www.npmjs.com/package/electron-qeda
- Repository: https://github.com/electron-lang/qeda
- npm.io page: https://npm.io/package/electron-qeda

## Dependencies (2)

- [qeda](https://npm.io/package/qeda.md) ^0.4.0
- [libkicad](https://npm.io/package/libkicad.md) next

## Recent versions

- 1.0.2 (latest) — 2018-08-10
- 1.0.1 — 2018-08-10
- 1.0.0 — 2018-08-10

## README

# Electron QEDA wrapper

Wrapps qeda for use with electron.

## Example usage

```ts
import * as fs from 'fs'
import * as path from 'path'
import { FpLibTable } from 'libkicad'
import { Library } from '../src'

const layoutDir = path.join(__dirname, '..', 'layout');
if (!fs.existsSync(layoutDir)) {
    fs.mkdirSync(layoutDir);
}

process.chdir(layoutDir);

const fplib = new FpLibTable();
fplib.addLib('qeda-generated-lib');
fplib.write();

const lib = new Library('qeda-generated-lib')
lib.addFootprint({
    name: 'R0402',
    description: 'Chip resistor 1x0.5 mm',
    keywords: [ 'Resistor', '1/16W' ],
    housing: {
        pattern: 'chip',
        bodyLength: '0.9-1.1',
        bodyWidth: '0.45-0.55',
        height: '0.3-0.4',
        leadLength: '0.1-0.3'
    }
})
lib.generate(layoutDir)
```

## License
ISC License

Copyright (c) 2017, David Craven and others

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

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